18
Type wavemenu at the MATLA B command line

Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

  • View
    223

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

Type wavemenu at the MATLAB command line

Page 2: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

Select the Wavelet 1-D menu option to open the Wavelet 1-D tool.

Page 3: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

choose the File Load original 1-D signal.⇒load sumsin from matlab2007\toolbox\wavelet\wa

vedemo

Page 4: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

Hit Analyze

Page 5: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

From the Wavelet 1-D tool, choose the File⇒Example Analysis

Page 6: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

Choose “frequency breakdown”

Page 7: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

display these images in a suitable way, the Wavelet 2-D tool

Page 8: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

Load image from \toolbox\image\imdemo

Page 9: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

Hit Analyze

Page 10: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

• A=floor(64*rand(8))

• pcolor(A)

• %figure; colormap(gray(64))

• colormap(gray(64))

• T=w'*A*w

• pcolor(T)

• colormap(gray(64))

Page 11: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

s1= [1/2 0 0 0 1/2 0 0 0;

1/2 0 0 0 -1/2 0 0 0;

0 1/2 0 0 0 1/2 0 0 ;

0 1/2 0 0 0 -1/2 0 0 ;

0 0 1/2 0 0 0 1/2 0 ;

0 0 1/2 0 0 0 -1/2 0 ;

0 0 0 1/2 0 0 0 1/2 ;

0 0 0 1/2 0 0 0 -1/2 ]

s2= [1/2 0 1/2 0 0 0 0 0;1/2 0 -1/2 0 0 0 0 0;0 1/2 0 1/2 0 0 0 0;0 1/2 0 -1/2 0 0 0 0;0 0 0 0 1 0 0 0;0 0 0 0 0 1 0 0 ;0 0 0 0 0 0 1 0;0 0 0 0 0 0 0 1]

Page 12: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

• s3= [1/2 1/2 0 0 0 0 0 0;• 1/2 -1/2 0 0 0 0 0 0;• 0 0 1 0 0 0 0 0;• 0 0 0 1 0 0 0 0;• 0 0 0 0 1 0 0 0;• 0 0 0 0 0 1 0 0 ;• 0 0 0 0 0 0 1 0;• 0 0 0 0 0 0 0 1• ]

Page 13: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

• A=floor(64*rand(8))

• pcolor(A)

• colormap(gray(64))

• T=A*s1*s2*s3

Page 14: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

A

• 57 52 22 24 36 10 14 6• 61 15 53 36 30 38 58 61• 35 59 37 4 0 16 9 0• 8 22 35 3 21 41 52 49• 9 12 58 33 10 44 34 52• 16 16 18 49 50 47 63 55• 53 39 48 59 19 28 5 5• 16 30 48 8 33 5 28 25

Page 15: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

T

• 27.625 11.125 15.75 6.5 2.5 -1 13 4• 44 -2.75 -3.25 -12.75 23 8.5 -4 -1.5• 20 13.75 13.25 1.75 -12 16.5 -8 4.5• 28.875 -11.875 -2 -9.75 -7 16 -10 1.5• 31.5 -3.5 -17.5 -8 -1.5 12.5 -17 -9• 39.25 -14.5 -8.75 -5.25 0 -15.5 1.5 4• 32 17.75 -3.75 9.25 7 -5.5 -4.5 0• 24.125 1.375 -2.5 -3.75 -7 20 14 1.5

Page 16: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

• A=[60 52 59 8 28 53 19 24; 14 28 58 12 59 1 12 55;38 39 26 12 29 43 12 54;31 50 57 38 26 24 43 37;57 58 3 17 54 53 19 31;48 47 22 12 33 32 34 57;29 11 52 0 12 45 9 52;1 25 0 47 43 27 44 41]

Page 17: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

T=A*s1*s2*s3

• 37.875 6.875 11.25 9.5 4 25.5 -12.5 -2.5

• 29.875 -1.875 -7 -1.75 -7 23 29 -21.5

• 31.625 -2.875 9.75 1.5 -0.5 7 -7 -21

• 38.25 5.75 -3.5 -7.5 -9.5 9.5 1 3• 36.5 -2.75 23.75 14.25 -0.5 -7 0.5 -6• 35.625 -3.375 15.25 -6.5 0.5 5 0.5 -1

1.5• 26.25 -3.25 -3 -1 9 26 -16.5 -21.5• 28.5 -10.25 -5.25 -3.75 -12 -23.5 8 1.5

Page 18: Type wavemenu at the MATLAB command line. Select the Wavelet 1-D menu option to open the Wavelet 1-D tool

w=s1*s2*s3 t2=w'*A*w• 33.0625 -1.4688 5.1562 0.5938 -2 8.1875 0.375 -9.9375• 1.3438 3.4375 -2.5312 -0.1562 -1.25 8.0625 2.25 -0.5625• -0.5312 0.5312 -0.5 3.4375 1.75 8 5.625 -1.5• 4.3438 1.8438 11.8125 3.125 0.75 -1.125 2.375 0.625• 4 4.375 9.125 5.625 5.5 1.25 -20.75 9.5• -3.3125 -4.3125 6.625 4.5 4.5 -1.25 -4 -12• 0.4375 0.3125 4.25 10.375 -0.5 -6 0 2.75• -1.125 3.5 1.125 1.375 10.5 24.75 -12.25 -11.5