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:
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.
This post has been edited by irv_the_swerve: 07 January 2010 - 08:57 AM