Jerome Colico
This video will teach how to solve state space to transfer function. Along with Matlab code for checking purposes. Given the state space representation convert it to transfer function The steps are: 1. Identification of Variable 2. sI-A 3. (sI-A)^-1 4. Insert to Formula: C(sI-A)^-1 B +D MATLAB CODE: (CHECKING PURPOSES) and also can be used for Calculator clc clear all syms s %% USER INPUT % x=Ax+Br A is n x n; B % y=Cx A=[-5 0;0 -1]; B=[3;0]; C=[3 2]; D=0; %% PROCESS sI=eye(length(A))*s sI_A=sI-A fprintf('\n\n_____________________________\n\n') fprintf("adjoint(sI-A)") num=adjoint(sI-A) fprintf('\n\n_____________________________\n\n') fprintf("determinant of (sI-A)") determinant=det(sI-A) inv_sI_A=num/determinant; %% (sI-A)^-1 C_num=C*num % The order is not interchangeable C_num_B=C_num*B %% fprintf('\n\n_____________________________\n\n') fprintf("Transfer function") TF=C*inv_sI_A*B+D TF=simplify(TF)
Complete understanding of the topic
Hands-on practical knowledge
Real-world examples and use cases
Industry best practices
Take your learning to the next level with premium features