Combining 2 signals into 1
Ältere Kommentare anzeigen
I'm trying to combine these signals but I'm not sure how.
n = [0:1023];
omega = 0.25*pi;
xn = sin(omega*n);
ns = sqrt(0.2)*randn(1,n);
2 Kommentare
Rick Rosson
am 20 Sep. 2014
What specifically do you mean by "combine"?
Dick Rusell
am 20 Sep. 2014
Bearbeitet: Dick Rusell
am 20 Sep. 2014
Akzeptierte Antwort
Weitere Antworten (1)
Rick Rosson
am 20 Sep. 2014
Bearbeitet: Rick Rosson
am 20 Sep. 2014
Please try:
plot(n,xn,n,ns);
For more info:
>> doc plot
Kategorien
Mehr zu Legend finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
