1.多子图
figure
subplot(2,1,1);plot(data1);
title('原始信号');%标题
subplot(2,1,2);plot(data1_rebuild);
title('去噪声后信号');
2.多条信号
figure
plot(data1,'-r');
hold on
plot(data1_rebuild,'-b');
legend('原始信号','去噪后信号');%图例
1.多子图
figure
subplot(2,1,1);plot(data1);
title('原始信号');%标题
subplot(2,1,2);plot(data1_rebuild);
title('去噪声后信号');
2.多条信号
figure
plot(data1,'-r');
hold on
plot(data1_rebuild,'-b');
legend('原始信号','去噪后信号');%图例