02-02-2011 09:55 PM
result = find( ([(arrayofval >= minvalue); 0] & [0; (arrayofval < minvalue)]) |...
([(arrayofval <= minvalue); 0] & [0; (arrayofval > minvalue)]) );
thanks in advance.
Solved! Go to Solution.
02-02-2011 10:59 PM
anyone can help me on this? thanks...
02-02-2011 11:11 PM
Be patient. Your post is only an hour old and most of the members here are volunteers.
02-02-2011 11:24 PM
02-02-2011 11:30 PM
I'm using labVIEW 2010. Yes, this is the code currently I have in Matlab and would like to convert it to LabVIEW.
02-03-2011 12:10 AM
02-03-2011 12:20 AM
Hi srikrishnaNF,
That's also my case here. But when using this code in Matlab, I didn't get an empty array. Thanks for helping.
02-03-2011 05:40 PM
Simply_ynan,
What is your result in Matlab with this code? I am with srikrishnaNF on this one and I would think you would get an empty array. Can you let us know what you are getting in Matlab and then we can better understand what results you should be looking for and thus how to implement your Matlab code in LabVIEW?
David A.
02-03-2011 06:52 PM
What is a typical set of parameter values you used in matlab?
02-03-2011 07:39 PM
arrayofval is equals to values in arrayofval.csv(attached file) and minval is equal to -7.9925.
Then running that code in Matlab will give us the values in result.csv(also in attached file).
Thanks.