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

1 view (last 30 days)
I follow the sample code but I keep on getting error in plotting

Answers (1)

Star Strider
Star Strider on 13 Jun 2018
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.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!