conditional for loop not running
3 views (last 30 days)
Show older comments
hey guys im having a problem running this code
the purpose is the anlyse a noisy signal data and find the time at which the signal reaches a percentage of the actual value
only the first conditional statement runs in the program , the other 2 wont even run
for i= 1:1:5079
if(Y(i)<=90*L2_v/100)
t90 = X(i);
end
if(Y(i)<=50*L2_v/100)
t50 = X(i)
end
if(Y(i)<=10*L2_v/100)
t10 = X(i);
end
end
0 Comments
Accepted Answer
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!