Replace values to 0 in specific ranges.

1 view (last 30 days)
Hyowon Lee
Hyowon Lee on 19 Nov 2015
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)

Community Treasure Hunt

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

Start Hunting!