From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

get max out of 5 matrix using for loop

Solved!
Go to solution

I have matrix 4x5

 

WANT TO DO:

for 5 iterations: I get 1st index as 4x1 and then I reshaped it to 2x2

 

I have a matrix of 2x2x5  [5 images of 2x2]

 

I know how to maximize two matrices and get one using min-max control

 

 

 

3.png

  

but I want  to do this

Afinal=[0] 

for i = 0:100

    Afinal=minmax of (Ai,Afinal)

 

0 Kudos
Message 1 of 2
(790 Views)
Solution
Accepted by topic author gptshubham595

Take a look through the palette of array functions.

 

There you will find one called "Array Max & Min".

0 Kudos
Message 2 of 2
(751 Views)