フィルターのクリア

how to Expand the plot line in a function

6 ビュー (過去 30 日間)
Fernando Moreno
Fernando Moreno 2021 年 11 月 3 日
編集済み: Chris 2021 年 11 月 4 日
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 日
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 件)

カテゴリ

Help Center および File ExchangeLine Plots についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by