Estimation the system (A) for known input and output [Y = A * X]
Show older comments
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
Accepted Answer
More Answers (1)
Youssef Khmou
on 28 Feb 2013
Edited: Youssef Khmou
on 28 Feb 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 Comments
Jan
on 28 Feb 2013
It will have strange side-effects, if you shadow the important builtin function error() by a variable.
Youssef Khmou
on 28 Feb 2013
Edited: Youssef Khmou
on 28 Feb 2013
ok Jan, thanks for reminding .
Categories
Find more on Linear Model Identification in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!