MATLAB Inputting Transfer Functions in MATLAB - Rob's Guide

Click For Summary
To determine a closed-loop transfer function in MATLAB, the user seeks guidance on inputting transfer functions. Specifically, the transfer function G(p)=1/s(1+0.8+0.04s^2) is mentioned. The response provides a MATLAB command to define the transfer function using the command A=tf([1],[0.04 0.8 1]). For analyzing the system's stability, the command rlocus(A) is suggested to generate the root locus plot. It is noted that the system remains stable and in the left half-plane (LHP) for all positive values of gain K.
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:

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K