When I put in a simple vector to be plotted, whenever I call the plot function, it wouldn't run and the script will have an error"
Screen Shot 2019-03-20 at 12.20.08 AM.png

 采纳的回答

madhan ravi
madhan ravi 2019-3-19
编辑:madhan ravi 2019-3-19

3 个投票

You have a script named plot.m please remove it from the path ,rename or delete it , it is shadowing the in-built plot() function.

3 个评论

thank you very much! it totally worked fine now :)
Thanks,I had the same issues.
How to remove script plot.m

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by