Risposto How to write FOR LOOP in Matlab?
[1 2 3]' means transpose of [1 2 3] so it becomes:
[1
2
3]
This is the first column of A
Similarly, you get [3 ...
circa 11 anni fa | 0
Risposto Changing pixel color to white
I assume your image is an RGB image. Use this to get only the red plane:
Image_r = Image(:,:,1)
You have to know the int...
Risposto how to set specific limits for a colorbar
Use caxis([min, max]).
By default is considers the min and max values of you data plot.
subplot(2,1,1) % default case
...