If statement with an array
Show older comments
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
Answers (1)
Stephen23
on 4 Nov 2020
Y = max(0,9.1*Y)
Categories
Find more on Author Block Masks 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!