04-02-2017 07:45 AM
mathscript doesn't give any output when I use the 'find' command to get the index of an array element. I want to find the rise time of a real time signal. Following is the code;
rise_time1 = max(find(act < 0.1));
rise_time2 = min(find(act > 0.9));
rise_time = abs(time(rise_time2)-time(rise_time1));
Any suggestions will be highly appreciated.
Many thanks.
04-07-2017 10:03 AM
Hi Rabiya,
Are you able to confirm that the array you're trying to get the index of is actually being populated.
Are you also able to post more of your code?
Thanks