I have a transfer function and I need to approximate it for another which is simpler, a linear one. So I have:
U1=[K K*c];D1=[1 p];D11=[1 2*delta*w w^2];D1=D1*D11;G1=tf(N1,1); U2=[K'];D2=[tau 1];G2=tf[U2,D2];
G1 is the complex transfer function and G2 is the simple transfer function. The coefficients in G1 are known, but K' and tau in G2 are unknown and I have to find them according to the response I receive from y1's graph (y1 stands for the output due to an input, which is a step function, and to the transfer function G1). How can I determine K' and tau?
PS: For y1 I've used:
t=[0:0.0001:20];y1=step(t,G1);plot(t,y1);title('Output')xlabel('Time (seconds)')ylabel('y1')
Best Answer