Check if the condition happened in previous cycles
2 ビュー (過去 30 日間)
表示 古いコメント
I'm trying to make a condition to analyze every 5 cycles, but I need the value of p_fix (threshold) not to exceed PE. As I did, it only analyzes when it reaches 5 cycles, but I needed to check if PE>p was respected until it reaches 5 cycles again and again.
if mod(n,5)==0 && PE(n-1,1)>p_fix
fprintf('Accuses IC\n')
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Find more on MIMO in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!