h=figure(1);
set(h,'name','Haar小波变换','Numbertitle','off')
subplot(2,1,1);
plot(x(1:count),y(1:count)), axis([0 12 4 6.5]);
title('原始信号');
subplot(2,1,2);
plot(x(1:count),xd(1:count)), axis([0 12 4 6.5]);
title('重建信号');
http://bbs.matwav.com/viewthread.php?tid=887306
对于图像,也可以如下:
figure;
a= imread('1.jpg');
imshow(a);
set(gca, 'Title',text('String',' 1.jpg'))