Info
This question is closed. Reopen it to edit or answer.
"Error using mesh" code when trying to graph linear regressions
1 view (last 30 days)
Show older comments
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161411/image.jpeg)
For some reason, with this code, i get a funny little blue figure with no mesh, and I have no idea what is going wrong with the code, does anybody else? Any assistance would be greatly appreciated!!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/161413/image.jpeg)
Also, for some reason, my labels aren't working either, i've never had matlab do that! I know I can use the 'tools' drop down menu in the figure, but if anyone knows why the code isn't working that would be awesome!
0 Comments
Answers (1)
Star Strider
on 6 Mar 2017
What are the sizes of ‘x1fit’ and ‘x2fit’?
My guess is that one of them is (1x1).
3 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!