Inputting Transfer Functions in MATLAB - Rob's Guide

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 38K views
rc flyer uk
Messages
11
Reaction score
0
I have only basic MATLAB skills and need to input to transfer functions into MATLAB to determine a closed loop transfer function! But cannot find any simple books or guides to show me how to input the functions! One of the transfer functions i wish to input is:

G(p)=1/s(1+0.8+0.04s^2)

Some help of the method of inputing this, would be greatly apricated!

Cheers
Rob
 
Physics news on Phys.org
A=tf([1],[0.04 0.8 1])

If you want the root locus just type in

rlocus(A)

Your system appears to always be stable and in the LHP for all positive values of gain K.
 
Last edited: