Beantwortet 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 ...
fast 10 Jahre vor | 0
Beantwortet 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...
Beantwortet 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
...