"Error using mesh" code when trying to graph linear regressions
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시

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!!

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
답변 (1개)
Star Strider
2017년 3월 6일
0 개 추천
What are the sizes of ‘x1fit’ and ‘x2fit’?
My guess is that one of them is (1x1).
댓글 수: 3
Leesy
2017년 3월 6일
Leesy
2017년 3월 6일
Walter Roberson
2017년 3월 6일
Your code would have problems if min(x1) is within 25 of max(x1)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!