フィルターのクリア

If statement with an array

2 ビュー (過去 30 日間)
Andreas Makrides
Andreas Makrides 2020 年 11 月 4 日
回答済み: Stephen23 2020 年 11 月 4 日
I have 1 column (595 values) I want if the value is >0 Y=value*9.1 Else Y=0 I want to make this prositure for each value

回答 (1 件)

Stephen23
Stephen23 2020 年 11 月 4 日
Y = max(0,9.1*Y)

カテゴリ

Help Center および File ExchangeAuthor Block Masks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by