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

1 vue (au cours des 30 derniers jours)
Anna Rivera
Anna Rivera le 13 Juin 2018
I follow the sample code but I keep on getting error in plotting
  2 commentaires
Anna Rivera
Anna Rivera le 13 Juin 2018
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 le 13 Juin 2018

Connectez-vous pour commenter.

Réponses (1)

Star Strider
Star Strider le 13 Juin 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.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by