Question: Is there any to obtain transfer function directly?

question1.22.mwMy system differential equations are sys:=[deq1,deq2]

and the linearization point is given by linp:=[...]

Then I use linearization command to get a linear model of the system

linmod:=Linearize(sys,[input],[output],linp)

then maple returns a state-space equation of the linearized system.

I want to get the system transfer function, my method is ,first,extract the state-space matrices a,b,c,d;second,using command TransferFunction(a,b,c,d) to yield the transfer function.

Now, I have an idea: since linmod is a state-space equation of the linearize system,so I use the command tf:=TransferFunction(linmod) to get transfer function,but maple returns an error:"Error, (in DynamicSystems:-ParseSystemInputs) cannot match the arguments to an appropriate system"

My question is: now that linmod is a state-space equation of the system,why maple cannot return transfer function by using the command above?

Can you help me? Thank you in advance.

An example has been uploaded.

 

Please Wait...