conditional for loop not running
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!