03-21-2011 08:40 PM
Hi,
I have a 2-D array and I wish to find maxima and minima of each column of the 2-D array. Although I know how to get maxima and minima for the entire array but am not sure how to do it columnwise? Any ideas please?
Thanks,
Rohit
Solved! Go to Solution.
03-21-2011 11:31 PM
Index the array inside a For Loop so that you find the maximum and minimum of the 1-D array.
03-21-2011 11:40 PM
03-21-2011 11:53 PM
@GITA_A wrote:
Hi,
Hope this helps you.
You do know about auto-indexing, right? What happens if the array is 5 columns?
Auto-indexing a for-loop that has the Array Max and Min function is the way to do it. However, you will need to transpose the 2D array before you auto-index since LabVIEW will auto-index by rows, and you want o index out the columns.
03-22-2011 01:43 AM - edited 03-22-2011 01:46 AM
03-22-2011 04:11 AM
@ GITA_A, Ravens Fan & smercurio_fc
Thanks for your replies. It works well now.!!
Rohit