question about sinc function

3 views (last 30 days)
hi how can i get this figure ?
Capture.PNG
i have used the following eq.
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 Comments

Sign in to comment.

Accepted Answer

KALYAN ACHARJYA
KALYAN ACHARJYA on 2 Sep 2019
Edited: KALYAN ACHARJYA on 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);
  10 Comments
KALYAN ACHARJYA
KALYAN ACHARJYA on 2 Sep 2019
@Torsten OK sir, thanks for rectifying me. I will update it.
Gratitude!

Sign in to comment.

More Answers (1)

Torsten
Torsten on 2 Sep 2019
Edited: Torsten on 2 Sep 2019
t = -511*0.005:0.005:512*0.005;
u_1 = 3/2*(110*sinc(110*t)-60*sinc(60*t));
  1 Comment
ADNAN KIRAL
ADNAN KIRAL on 2 Sep 2019
thanks for your reply.

Sign in to comment.

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by