sinc function
Mostra commenti meno recenti
At y=0, the graph is not plotted. How would I plot it, to compare to the sinc(x) function. Thanks in advanced.
x=-20:0.1:20;
y=(sin(pi*x))/(pi*x);
if x=0
.....
end
plot(x,y,);
hold on
plot (x,sinc(x),'*');
Risposta accettata
Più risposte (1)
Walter Roberson
il 15 Apr 2011
0 voti
The value is undefined at that location. What are you hoping to have plotted there?
Categorie
Scopri di più su Mathematics in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!