필터 지우기
필터 지우기

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 CenterFile Exchange에서 Author Block Masks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by