You are on page 1of 1

MATLAB desktop keyboard shortcuts, such as Ctrl+S, are now customizable.

In addition, many keyboard shortcuts have changed for improved consistency


across the desktop.

To customize keyboard shortcuts, use Preferences. From there, you can also
restore previous default settings by following the steps outlined in Help.

Click here if you do not want to see this message again.

>> I=imread('C:\Users\PHUOC SON\Desktop\matlab\anh.bmp');
>> size(I)

ans =

768 1024 3

>> figure;imshow(I);
Warning: Image is too big to fit on screen; displaying at 67%
> In imuitools\private\initSize at 73
In imshow at 262
>> R = I(:,:,1);G=I(:,:,2);B=I(:,:,3);
>> figure;subplot(1,3,1);imshow(R);
>> subplot(1,3,2);imshow(G);
>> subplot(1,3,3);imshow(B);




>> Y=rgb2gray(I);
>> figure;imshow(Y);
Warning: Image is too big to fit on screen; displaying at 67%
> In imuitools\private\initSize at 73
In imshow at 262

>> Y1=Y(1:384,1:512);
Y2=Y(1:384,513:1024);
Y3=Y(385:768,1:512);
Y4=Y(385:768,513:1024);
T=[Y4 Y3;Y2 Y1];
>> figure;imshow(T);
Warning: Image is too big to fit on screen; displaying at 67%
> In imuitools\private\initSize at 73
In imshow at 262
>>

You might also like