question about sinc function
2 次查看(过去 30 天)
显示 更早的评论
hi how can i get this figure ?
i have used the following eq.
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 个评论
Dimitris Kalogiros
2019-9-2
Hi Adnan
What exactly do want to plot ?
A sync(t) function ? Or function u(t) which you gave ?
采纳的回答
KALYAN ACHARJYA
2019-9-2
编辑:KALYAN ACHARJYA
2019-9-2
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);
10 个评论
Torsten
2019-9-2
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Chebyshev 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!