how to plot a full sine wave using quarter wave in MATLAB?
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have genearted quarter sine wave values and saved it in an array and plotted it to get a quarter sine wave. from this array how can i generate a whole sine wave?
2 commentaires
Réponses (1)
Andrey Kiselnikov
le 5 Fév 2019
Did you mean this:
phase = 0:0.01:pi/2;
q_wave = sin(phase);
plot ([q_wave,fliplr(q_wave),q_wave.*-1,fliplr(q_wave.*-1)]);
?
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with DDS Blockset 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!