0% found this document useful (0 votes)
36 views2 pages

05/12/16 7:35 MATLAB Command Window 1 of 2: %nama: Muhammad Anas %NIM: 32215009 %kelas: 2 A Telkom

This document contains the work of a student named Muhammad Anas solving four problems regarding transfer functions and feedback systems. The student defines two transfer functions a and b, finds their roots and calculates their feedback transfer function c. The student then calculates the feedback transfer function Q for several values of N, including 1, 20, 0.5 and 0.75, and plots the Nyquist diagram for each case.

Uploaded by

Rexzy Senolinggi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views2 pages

05/12/16 7:35 MATLAB Command Window 1 of 2: %nama: Muhammad Anas %NIM: 32215009 %kelas: 2 A Telkom

This document contains the work of a student named Muhammad Anas solving four problems regarding transfer functions and feedback systems. The student defines two transfer functions a and b, finds their roots and calculates their feedback transfer function c. The student then calculates the feedback transfer function Q for several values of N, including 1, 20, 0.5 and 0.75, and plots the Nyquist diagram for each case.

Uploaded by

Rexzy Senolinggi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

05/12/16 7:35 MATLAB Command Window 1 of 2

>> %Nama : Muhammad Anas


>> %NIM : 32215009
>> %Kelas : 2 A Telkom
>>
>> %Tugas 2
>> %Soal 1
>> a = [1 -8 15]

a =

1 -8 15

>> b = [1 10 24]

b =

1 10 24

>> roots(a)

ans =

5
3

>> tf(b,a)

ans =

s^2 + 10 s + 24
---------------
s^2 - 8 s + 15

Continuous-time transfer function.

>> nyquist(b,a)
>> grid
>>
>> %Soal 2
>> %Jika N = 20
>> c = tf(b,a)

c =

s^2 + 10 s + 24
---------------
s^2 - 8 s + 15

Continuous-time transfer function.

>> Q = feedback(c,1)

Q =

s^2 + 10 s + 24
05/12/16 7:35 MATLAB Command Window 2 of 2

----------------
2 s^2 + 2 s + 39

Continuous-time transfer function.

>> Q = feedback(c,20)

Q =

s^2 + 10 s + 24
--------------------
21 s^2 + 192 s + 495

Continuous-time transfer function.

>> pole (Q)

ans =

-4.5714 + 1.6351i
-4.5714 - 1.6351i

>> nyquist(Q)
>> grid
>>
>> %Soal 3
>> %Jika N = 0.5
>> Q = feedback(c,0.5)

Q =

s^2 + 10 s + 24
------------------
1.5 s^2 - 3 s + 27

Continuous-time transfer function.

>> nyquist(Q)
>> grid
>>
>> %Soal 4
>> %Jika N = 0.75
>> Q = feedback(c,0.75)

Q =

s^2 + 10 s + 24
---------------------
1.75 s^2 - 0.5 s + 33

Continuous-time transfer function.

>> nyquist(Q)
>> grid
>>

You might also like