Filter löschen
Filter löschen

If statement with an array

2 Ansichten (letzte 30 Tage)
Andreas Makrides
Andreas Makrides am 4 Nov. 2020
Beantwortet: Stephen23 am 4 Nov. 2020
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

Antworten (1)

Stephen23
Stephen23 am 4 Nov. 2020
Y = max(0,9.1*Y)

Kategorien

Mehr zu Author Block Masks finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by