hi
I want to move my "sinc" function from negative to positive side. The function is;
t=-40.955:0.005:40.960;
u=(200/pi)*(15*sinc(15*t)-3*sinc(3*t));
It needs to start from "0". would you please help me with that? how can i move my axis in "sinc" function
like this plot. Thanks in advance.
test.PNG

 채택된 답변

Star Strider
Star Strider 2019년 9월 5일

0 개 추천

To move it in the plot, simply add the appropriate value to the ‘t’ vector:
t=-40.955:0.005:40.960;
u=(200/pi)*(15*sinc(15*t)-3*sinc(3*t));
figure
plot(t-min(t), u)
grid
Experiment to get the result you want.

댓글 수: 2

ADNAN KIRAL
ADNAN KIRAL 2019년 9월 5일
thanks.
Star Strider
Star Strider 2019년 9월 5일
As always, my pleasure.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품

릴리스

R2018b

질문:

2019년 9월 5일

댓글:

2019년 9월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by