need help with state space input error

1 view (last 30 days)
Ossama
Ossama on 20 Mar 2024
Answered: Sam Chak on 20 Mar 2024
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?

Answers (1)

Sam Chak
Sam Chak on 20 Mar 2024
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.

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!