Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Get Started with Curve Fitting Toolbox in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by