![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257723/image.png)
ctrb function and syms error
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/251159/image.png)
sym에서 double(으)로 변환하는 중 다음 오류가 발생했습니다.
표현식을 double형 배열로 변환할 수 없습니다.
오류 발생: ctrb (line 33)
co(:,1:nu) = b;
The following error occurred while converting from sym to double:
Cannot convert expression to double-type array.
Error occurred: ctrb (line 33)
co(:1,1:nu) = b; --> how to solve this error?
0 Commenti
Risposte (1)
Chidvi Modala
il 31 Dic 2019
Controllability matrix for a system is given by
Where A is nxn constant matrix and B is n by m constant matrix.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/257723/image.png)
The error occurred because, In your script, you declared A and B matrix with variables as elements. ctrb function works for only constant matrices.
0 Commenti
Vedere anche
Categorie
Scopri di più su 방정식 풀이 in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!