MATLAB Answers


17 views (last 30 days)
Hassan on 27 May 2011
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?

Accepted Answer

Oleg Komarov
Oleg Komarov on 27 May 2011
type ver and check that the statistics toolbox is installed.
  1 Comment
Hassan on 27 May 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.

Sign in to comment.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!