フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

facing the problem in line no.... F(j)>0.0 in this loop

1 回表示 (過去 30 日間)
radhe  krishan
radhe krishan 2017 年 4 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
if F(j)>0.0
a=rand();
if a>0.5
w=1;
else
w=0;
end
if w==1
i=i+1;
sel1(i)=j;
m1(i)=sel1(i);
F(j)=F(j)-1;
else
end
else
end
end
end
  1 件のコメント
John D'Errico
John D'Errico 2017 年 4 月 14 日
What problem?
I do wonder why you think EVERY if statement must have a blank else clause. But that is not at all relevant. You also have far more end statements in this code to ever run.
If you have an error message, then give us the ENTIRE text of the message, not just part of the message. Provide the complete error as generated.

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by