plot two waveforms at the same time
18 ビュー (過去 30 日間)
古いコメントを表示
Hi
Is there a way to plot two waveforms at the same time in a figure? Please let me know.
Thanks in advance
0 件のコメント
採用された回答
Wayne King
2011 年 10 月 28 日
x = randn(1e2,1);
y = randn(1e2,1);
t = 1:100;
plot(t,x,t,y);
legend('x-waveform','y-waveform');
% or
plot(t,x); hold on;
plot(t,y,'r');
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Acoustics, Noise and Vibration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!