How to generate sinusoidal sine wave using matlab ?
44 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Sachin Pagar
le 31 Oct 2020
Commenté : madhan ravi
le 31 Oct 2020
I need to plot a sine wave with a frequency of 25 amplitude of 5 time of 0:0.1:1 how do i go about this, thanks
0 commentaires
Réponse acceptée
Plus de réponses (1)
Ameer Hamza
le 31 Oct 2020
Try this
t = 0:0.001:1; % your time vector have a very low sampling frequency
y = 5*sin(25*2*pi*t);
plot(t, y)
0 commentaires
Voir également
Catégories
En savoir plus sur Get Started with DSP System Toolbox 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!