I want to create a STATE SPACE function. I have converted higher order differential into first order differential. but I am not able to form matrix A(state matrix) and matrix B(input/control matrix) from the equations. Please help

조회 수: 4 (최근 30일)
function zp = statespace(t,z);
zp(1) = z(2);
zp(2) = w/m - c*z(2)/m - k*[z(1)*cos(phi(i)) + z(3)*sin(phi(i))].^(3/2);
zp(3) = z(4);
zp(4) = - c*z(4)/m - k*[z(1)*cos(phi(i)) + z(3)*sin(phi(i)) ].^(3/2);

답변 (0개)

카테고리

Help CenterFile Exchange에서 Numerical Integration and Differential Equations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by