フィルターのクリア

rewrite in a different way

1 回表示 (過去 30 日間)
fawzeya bin tamim
fawzeya bin tamim 2021 年 4 月 29 日
回答済み: Walter Roberson 2021 年 4 月 29 日
How can i write the following but in a different way:
for i=0:10000
t1=10*(i/10000);
if t1>5
ro1=0;
end

採用された回答

Walter Roberson
Walter Roberson 2021 年 4 月 29 日
i = 0:10000;
t1 = 10*(1/10000);
ro1 = t1 <= 5;

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by