plot sinc function
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I want to know how to plot a (smooth) sinc on matlab.
Thanks
0 commentaires
Réponses (2)
Matt Fig
le 30 Avr 2011
ezplot(@sinc)
Or, more generally:
x = -5:.01:5;
plot(x,sinc(x))
This is if you have the signal processing toolbox. If not, you will have to define your own SINC function. If that is the case, show what you have done so far on it.
3 commentaires
dm
le 30 Avr 2011
How can a step-size of 0.01 not be good enough for a smooth plot? The difference between 0.01 and 0.0001 is hardly visible here. However, try using linesmooth in the plot command, i.e.
plot(x,sinc(x),'linesmooth','on')
badour ashkar
le 26 Nov 2019
plot(x,sinc(x))
2 commentaires
Andile Simelane
le 12 Mai 2020
It doesn't work. always gives "undefined Function sinc for input arguments of type double"
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!