2 % DISPLAY 3D WAVELETS OF CPLXDUAL3D.M
10 w = cplxdual3D(x, J, Faf, af);
11 w{J}{1}{1}{1}{3}(N/2,N/2,N/2) = 1;
12 y = icplxdual3D(w, J, Fsf, sf);
17 p1 = patch(isosurface(v,v,v,y,S));
18 isonormals(v,v,v,y,p1);
19 set(p1,'FaceColor','red','EdgeColor','none');
21 p2 = patch(isosurface(v,v,v,y,-S));
22 isonormals(v,v,v,y,p2);
23 set(p2,'FaceColor','blue','EdgeColor','none');
30 axis([12 38 12 38 12 38])
32 title('3-D WAVELET ISOSURFACE (REAL PART)')
33 set(gcf,'paperposition',[0.5 0.5 0 0]+[0 0 3 3])
34 print -djpeg95 cplxdual3D_plots_1
35 print -depsc cplxdual3D_plots_1
38 w{J}{1}{1}{1}{3}(N/2,N/2,N/2) = 0;
39 w{J}{2}{2}{2}{3}(N/2,N/2,N/2) = 1;
40 y = icplxdual3D(w, J, Fsf, sf);
45 p1 = patch(isosurface(v,v,v,y,S));
46 isonormals(v,v,v,y,p1);
47 set(p1,'FaceColor','red','EdgeColor','none');
49 p2 = patch(isosurface(v,v,v,y,-S));
50 isonormals(v,v,v,y,p2);
51 set(p2,'FaceColor','blue','EdgeColor','none');
58 axis([12 38 12 38 12 38])
60 title('3-D WAVELET ISOSURFACE (IMAGINARY PART)')
61 set(gcf,'paperposition',[0.5 0.5 0 0]+[0 0 3 3])
62 print -djpeg95 cplxdual3D_plots_2
63 print -depsc cplxdual3D_plots_2
66 y = sqrt(yr.^2 + yi.^2);
71 p1 = patch(isosurface(v,v,v,y,S));
72 isonormals(v,v,v,y,p1);
73 set(p1,'FaceColor','red','EdgeColor','none');
75 p2 = patch(isosurface(v,v,v,y,-S));
76 isonormals(v,v,v,y,p2);
77 set(p2,'FaceColor','blue','EdgeColor','none');
84 axis([12 38 12 38 12 38])
86 title('3-D WAVELET ISOSURFACE (MAGNITUDE)')
87 set(gcf,'paperposition',[0.5 0.5 0 0]+[0 0 3 3])
88 print -djpeg95 cplxdual3D_plots_3
89 print -depsc cplxdual3D_plots_3