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 Center および File ExchangeInterpolation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by