Replace Values using For Loops
10 views (last 30 days)
Show older comments
I am brand new to Matlab-I have a data matrix that is 128x128 and I would like to use a for loop to access every element of the data matrix, and replace every value higher than 60 with 1 and every value less than 60 by 0. I would appreciate your help. Thanks!
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!