Ezplot non-integer axis limits
显示 更早的评论
Ezplot does not seem to let me use non integer axis limits.
I am trying to plot F which is a function of symbolic variable t ezplot(F,tmin:tmax) this seems to work only when tmin and tmax are integers so works for a range -1:1 but when I try -1:0.5 I get an error. Although -1:1 range shows values for 0.5.
Any ideas why this may be happening
采纳的回答
更多回答(1 个)
Azzi Abdelmalek
2014-4-22
Look at this example
f=@(x) x.^2
ezplot(f,[-1 1])
Have you an example which didn't work?
类别
在 帮助中心 和 File Exchange 中查找有关 Code Performance 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!