plot two waveforms at the same time
18 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
Is there a way to plot two waveforms at the same time in a figure? Please let me know.
Thanks in advance
0 Commenti
Risposta accettata
Wayne King
il 28 Ott 2011
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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Acoustics, Noise and Vibration in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!