0% found this document useful (0 votes)
177 views3 pages

2.4 Plot Unit Step Response of The Closed Lopp Transfer Function For T 0 To T 2 Sec in Steps of 0.005 Sec. The Transfer Function Is Given As

The document provides instructions for plotting the step and ramp responses of two continuous-time transfer functions. It includes transferring functions defined by their numerator and denominator coefficients, and commands for obtaining the step response of the first transfer function and the ramp response of the second using MATLAB functions step(G,t) and ramp(G). However, ramp(G) returns an error as it is not a valid function for a transfer function type input.

Uploaded by

Number But
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
177 views3 pages

2.4 Plot Unit Step Response of The Closed Lopp Transfer Function For T 0 To T 2 Sec in Steps of 0.005 Sec. The Transfer Function Is Given As

The document provides instructions for plotting the step and ramp responses of two continuous-time transfer functions. It includes transferring functions defined by their numerator and denominator coefficients, and commands for obtaining the step response of the first transfer function and the ramp response of the second using MATLAB functions step(G,t) and ramp(G). However, ramp(G) returns an error as it is not a valid function for a transfer function type input.

Uploaded by

Number But
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

2.4 Plot unit step response of the closed lopp transfer function for t = 0 to t = 2 sec in steps of 0.005 sec.

The transfer function is given as,

>> n= [32]

n=

32 >> d= [1 3 36]

d=

36

>> G= tf(n,d) G=

32 -------------s^2 + 3 s + 36

Continuous-time transfer function.

>> step(G,t)

2.5 Obtain a plot of the ramp response of the system whose transfer function is shown below:

>> n= [3 2] n=

>> d= [2 4 5 1]

d=

>> G= tf(n,d)

G=

3s+2 ----------------------2 s^3 + 4 s^2 + 5 s + 1 Continuous-time transfer function.

>> ramp(G) Undefined function 'ramp' for input arguments of type 'tf'.

You might also like