how to create square matrix ?
Show older comments
i want to create square matrix but it is with at most 1 rows.
Actually i am using Kalman filter command to create estimator but it is giving me some error..
the command is
QN=eye(10);
L= kalman(syssc,QN,QV)
the error is coming for QW
In the "kalman(SYS,QN,RN,NN,...)" command, QN must be a real square matrix with at most 1 rows.
how should i do this ?
2 Comments
Azzi Abdelmalek
on 20 Mar 2013
What is syssc? continuous or discrete system? provide more information about your system.
Aniket
on 20 Mar 2013
Edited: Walter Roberson
on 20 Mar 2013
Answers (1)
Walter Roberson
on 20 Mar 2013
1 vote
eye(1) would be a real square matrix with one row.
Categories
Find more on MATLAB 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!