Replace values to 0 in specific ranges.
Show older comments
A=[1 0 0 0 2 3 0 0 0 4 ...100 40 20 1 0 0 0 2 3 4 0 5 .... 100 90 80 40 20 1 2 0 3 0 0 4... 100];
B=[1 0 0 0 2 3 0 0 0 4 ...100 0 0 1 0 0 0 2 3 4 0 5 .... 100 0 0 0 0 1 2 0 3 0 0 4... 100];
How to replace values between 100 and 1 with 0?
Answers (0)
Categories
Find more on Library Development 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!