Combining 2 signals into 1
Afficher commentaires plus anciens
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 commentaires
Rick Rosson
le 20 Sep 2014
What specifically do you mean by "combine"?
Dick Rusell
le 20 Sep 2014
Modifié(e) : Dick Rusell
le 20 Sep 2014
Réponse acceptée
Plus de réponses (1)
Rick Rosson
le 20 Sep 2014
Modifié(e) : Rick Rosson
le 20 Sep 2014
Please try:
plot(n,xn,n,ns);
For more info:
>> doc plot
Catégories
En savoir plus sur Scopes and Data Logging dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
