question about sinc function
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
ADNAN KIRAL
am 2 Sep. 2019
Kommentiert: KALYAN ACHARJYA
am 2 Sep. 2019
hi how can i get this figure ?
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/236693/Capture.png)
i have used the following eq.
![Capture2.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/236694/Capture2.png)
by coding the following type;
but it did not work can u please help me with that ? i cannot get negative values. thanks.
t=-511*0.005:0.01:512*0.005;
u_1=3/2*(110*sinc(110*pi*t)-60*sinc(60*pi*t));
2 Kommentare
Dimitris Kalogiros
am 2 Sep. 2019
Hi Adnan
What exactly do want to plot ?
A sync(t) function ? Or function u(t) which you gave ?
Akzeptierte Antwort
KALYAN ACHARJYA
am 2 Sep. 2019
Bearbeitet: KALYAN ACHARJYA
am 2 Sep. 2019
t=-linspace(-511*0.005,512*0.005,1000)
u_t=3*(sin(2*55*pi*t)-sin(2*30*pi*t))./(2*pi*t);
plot(u_t);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/236698/image.png)
10 Kommentare
Torsten
am 2 Sep. 2019
This doesn't help since you still divide by 0 at t=0.
If you divide out, you get what I wrote in my answer.
KALYAN ACHARJYA
am 2 Sep. 2019
@Torsten OK sir, thanks for rectifying me. I will update it.
Gratitude!
Siehe auch
Kategorien
Mehr zu Chebyshev finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!