Plot sine wave with bandwidth
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I want to create a sine wave with a given bandwidth, a plot similar to this,
Say my frequency is 20Hz, amplitude is 20 and bandwidth is 4.
0 commentaires
Réponses (1)
Image Analyst
le 2 Déc 2017
How about just using the formula for sine:
x = linspace(......
y = 20 * sin(2*pi*20*x);
2 commentaires
Image Analyst
le 2 Déc 2017
A sine wave does not have a bandwidth. The bandwidth is zero because it's a single frequency. To get something with a bandwidth that's not zero, you'd have to have something different than a pure sine wave.
Voir également
Catégories
En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!