Community Profile

photo

xiao


University of Arizona

Last seen: 2 months ago Active since 2017

Statistics

Content Feed

View by

Question


How to process elements in an array using stateflow if-statement?
I have a simple if-statement code: A=[1 3 10 20]; for i=1:length(A) if A(i)>10 A(i)=10; end end Then the ...

6 years ago | 1 answer | 0

1

answer