need help with state space input error
Ältere Kommentare anzeigen
so i keep getting this error

and i dont know how to fix it, the daiagram is supposed to look like this 100% but i am getting this issue while my friends have it working.
this is the ABCD values;


what do i do?
Antworten (1)
Sam Chak
am 20 Mär. 2024
0 Stimmen
Hi @Ossama
You have entered the input matrix B as a single column vector, causing a dimension mismatch. Consequently, the state-space block expects only ONE (1) input to be provided. There are two ways to resolve this issue: you can either adjust the input side or the state-space side. However, without seeing the actual differential equation that involves both the Step signal and the Gravitational Acceleration (9.81), there is uncertainty regarding the correctness of the B matrix entry.

Kategorien
Mehr zu Linearization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!