Plot a complex sinusoidal function consisting of the sum of 5 sine waves
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
compute and plot a complex sinusoidal function consisting of the sum of 5 sine waves with equal amplitudes but whose frequencies are 1,3,5,10 and 20, again for t varying from 0 to 2*pie
0 commentaires
Réponses (1)
Star Strider
le 11 Déc 2017
Start with:
t = linspace(0, 2*pi);
frq = [1 3 5 10 20];
then compute the sine of this matrix:
arg = frq' * t;
then sum it and plot it.
0 commentaires
Voir également
Catégories
En savoir plus sur Annotations dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!