Hi all,
I am really new with matlab and would like some helps with matlab.. Here is the problem:
Say if i have a 256 by 256 matrix. I would like to replace any values that are 'greater' or 'equal' to 10 with 'one' and name the rest as 'zero' i.e. (values <10).. How can I do it??
For example,
2 3 6 15 24 32 1 7 39 10....
1 5 7 11 19 10 20 28 9......
10 24 6 29 10 25 32 10.....
.........................
............................
and I want it to look like the bottom,
0 0 0 1 1 1 0 0 1 1 ............
0 0 0 1 1 1 1 1 0 ..............
1 1 0 1 1 1 1 1 ...............
.....................
....................
Thank you so much in advance with all your time... :)