Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

how to obtain patial_der​ivative_ma​trix_linea​r_least_sq​uare ?

1 vue (au cours des 30 derniers jours)
Aidy
Aidy le 27 Sep 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
Dear all,
When solving linear least squares in Matlab, can I get the matrix of partial derivatives numerically derived via Matlab, in a similar way to lsqnonlin ?
Aiden Jobe
  1 commentaire
Matt J
Matt J le 27 Sep 2013
Modifié(e) : Matt J le 27 Sep 2013
"Get it" from what? If it is linear least squares, i.e., you are minimizing
f(x) = |A*x-b|^2
don't you have the matrix A already? For a linear problem, A itself would be the matrix of partial derivatives (of the residuals).

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by