Why is it that their is error in plotting a 2D plot?

I follow the sample code but I keep on getting error in plotting

2 件のコメント

Anna Rivera
Anna Rivera 2018 年 6 月 13 日
Error in ==> mat1 at 3 plot (x,y)
I don't know what's wrong in the entry "plot (x,y)"?
Anna Rivera
Anna Rivera 2018 年 6 月 13 日

サインインしてコメントする。

回答 (1 件)

Star Strider
Star Strider 2018 年 6 月 13 日

0 投票

You have a script called ‘plot.m’, apparently in your user directory. Rename your ‘plot.m’ script something different, such as ‘plot_data.m’.
How you do this depends on your operating system. In Windows, the easiest way may be to use File Explorer.

カテゴリ

タグ

質問済み:

2018 年 6 月 13 日

回答済み:

2018 年 6 月 13 日

Community Treasure Hunt

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

Start Hunting!

Translated by