Estimation the system (A) for known input and output [Y = A * X]
Afficher commentaires plus anciens
Hi All,
For the case of having known input and known output, is there any way to estimate the matrix A in which y = A * x?
I have input matrix (n X 2) which is the position of the object in 2d-Screen at time t. I also know the out put vector which always contain two values (2 X 1).
I would like to estimate the matrix A in which x (variable size) multiplies by A becomes Y. (Y = A * X).
Is there any way to estimate the matrix A? Is this the Jacobian matrix? or should I follow the system identification?!
I would appreciate if you give me any lead in this.
Thanks
Réponse acceptée
Plus de réponses (1)
Youssef Khmou
le 28 Fév 2013
Modifié(e) : Youssef Khmou
le 28 Fév 2013
Hi Payam,
i am afraid A is not matrix but vector :
lets try :
n=10;
X=rand(n,2);
Y=rand(2,1);
A=Y'/X;
Error=(A*X)'-Y;
Error(Error<1e-10)=0;
2 commentaires
Jan
le 28 Fév 2013
It will have strange side-effects, if you shadow the important builtin function error() by a variable.
Youssef Khmou
le 28 Fév 2013
Modifié(e) : Youssef Khmou
le 28 Fév 2013
ok Jan, thanks for reminding .
Catégories
En savoir plus sur Linear Model Identification dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!