BillHung.Net


powered by FreeFind     sms

EE 20 First Lab

12 July 2004
1.  
 cd d:
        change to d drive as the current folder

2..
 a = imread ('Beach01.jpg', 'jpg');
        open (in the current folder) Beach01.jpg, with file format .jpg. Notice the ";" sign has to be there, or strange codes results. a will be in the class of uint8 array.

3.
 image (a)
        display the image a, that's the Beach01.jpg in this case

4.
b = [0 2 30]
        store the 1x3 matrix to b in double array class