I have a struggle plotting a function in Matlab because the plotline is not complete and it's cut after certain value and because of that I cannot preview well my function. Is there a way to expand the plot line so I can see the complete function?

 채택된 답변

Chris
Chris 2021년 11월 3일
편집: Chris 2021년 11월 4일

0 개 추천

The default x interval for fplot is [-5 5]. You can change it with the xinterval argument:
fplot(y,[0,130])
You don't need an x argument unless x is a function (like a parametric equation)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품

질문:

2021년 11월 3일

편집:

2021년 11월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by