I am using Matlab R2010b. I want to make a reference line at coordinates x=0 and y=0. I used to do that in Matlab 2009 but now can't do that. It gives me an error message " Undefined function or method 'refline' for input arguments of type 'double'". I changed the data type to single but I am still getting the same message. Could you please tell me hoe I can fix it?

 Réponse acceptée

Oleg Komarov
Oleg Komarov le 27 Mai 2011

1 vote

type ver and check that the statistics toolbox is installed.

1 commentaire

Hassan
Hassan le 27 Mai 2011
thanks Oleg for the reply. I checked it snd seems I don't have statistcs toolbox. now need to see how I can install it.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by