How to make residuals and X & Y data dimension equal?

조회 수: 1 (최근 30일)
Abhishek
Abhishek 2014년 1월 31일
댓글: Abhishek 2014년 1월 31일
I am doing a polynomial curve fitting and I have x & y dimension are 1x20 but the residuals plot dimension i was getting is of 20x1....So i am not able to plot the residual plot in command line after saving ow to my fit. Plz tell how to make dim equal so that i can plot residuals?

채택된 답변

Mischa Kim
Mischa Kim 2014년 1월 31일
Would just taking the transpose work? When a vec is nx1, then vec' is the equivalent 1xn vector.
  댓글 수: 1
Abhishek
Abhishek 2014년 1월 31일
Can u tell how it can be done in cftool? As residuals are in output block of fittedmodel of workspace...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by