How to change ghraph interval when using fplot

5 次查看(过去 30 天)
fplot(@(v) v^(2))
So I plotted an equation using fplot and as a default I get interval [ -5 5 ] and I need to change it to for example [ 0 100 ] how can I do that.
my output is this graph right now
askkk.PNG

采纳的回答

Stephan
Stephan 2019-3-23
编辑:Stephan 2019-3-23
fplot(@(v) v.^2,[0 100])

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by