你好,效果如下:
程序:
x=[-176,-175,-174,-173,-172,-171,-170,-169,-168];
y1=[12.2,14,14.8,16,17.8,18.2,18.8,20.2,21.8];
y2=[9.8,10.8,11.8,12,13,14.8,16,16.8,18];
plot(x,y2,'-*b',x,y1,'-or')
xlabel('Signal Energy/dBW');
ylabel('the output SNR/dB');
legend('the SNR without Wavelet Denoising','the SNR with Wavelet Denoising')
如有问题请追问
x=[-176,-175,-174,-173,-172,-171,-170,-169,-168];
y1=[12.2,14,14.8,16,17.8,18.2,18.8,20.2,21.8];
y2=[9.8,10.8,11.8,12,13,14.8,16,16.8,18];
plot(x,y1,'r o',x,y2,'b *')
标题,坐标轴,图例直接在图形上编辑即可