how to check the value is above or below certain number in the set of columns
Show older comments
Hi,
In the attached data, from the columns 225 to 247, I need to check does any values in the row 1 exceeds 600. If exceeds, it should store value 1, otherwise 0 in the another array named say X.
Could someone help me with this?
1 Comment
Torsten
on 10 Oct 2023
And the other array X is of size 1x(247-225+1) ?
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing 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!