Borrar filtros
Borrar filtros

If statement with an array

2 visualizaciones (últimos 30 días)
Andreas Makrides
Andreas Makrides el 4 de Nov. de 2020
Respondida: Stephen23 el 4 de Nov. de 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

Respuestas (1)

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

Categorías

Más información sobre Author Block Masks en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by