I have a quick (probably easy) question about reading values in an array...I've been working on a program for 6 hours today and my brain has suddenly deserted me
I want to basically print/select the lowest number in an array, which is non-zero.
For example if the array was:
X[5]
and the elements were:
[0 0 3 4 5]
I would like it to select the minimum (3 in this case) and enter it into (for example) minX.
Thanks
This post has been edited by irv_the_swerve: 07 January 2010 - 08:57 AM

New Topic/Question
Reply




MultiQuote




|