control systems Lab

profileahmedMTT
 
 
Lab data:
 
 
 
x1=0.1+0.1j
x2=0.1-0.1j
x3=-0.1+0.1j
x4=-0.1-0.1j
x5=-6+2j
x12=x1+x2+x3+x4
x13=x1-x2
x14=x3*x4
x15=x4/x1
x16=(x1/(x1+x3)-x3* x4/x5)*(x2-x1)
x17=(x2*x3/(x1+x3)-x3*x4/(x5+x1))*(x3-x2)/(x2-x1)
a= -0.0998
b=- 0.1006
r=sqrt((a).^2+(b).^2) 
Q=atan(b/a) 
Q1=Q*(180/pi) 
 
 
>> x1=0.1+0.1j
x2=0.1-0.1j
x3=-0.1+0.1j
x4=-0.1-0.1j
x5=-6+2j
x12=x1+x2+x3+x4
x13=x1-x2
x14=x3*x4
x15=x4/x1
x16=(x1/(x1+x3)-x3* x4/x5)*(x2-x1)
x17=(x2*x3/(x1+x3)-x3*x4/(x5+x1))*(x3-x2)/(x2-x1)
a= -0.0998
b=- 0.1006
r=sqrt((a).^2+(b).^2) 
Q=atan(b/a)
 
x1 =
 
   0.1000 + 0.1000i
 
 
x2 =
 
   0.1000 - 0.1000i
 
 
x3 =
 
  -0.1000 + 0.1000i
 
 
x4 =
 
  -0.1000 - 0.1000i
 
 
x5 =
 
  -6.0000 + 2.0000i
 
 
x12 =
 
     0
 
 
x13 =
 
   0.0000 + 0.2000i
 
 
x14 =
 
    0.0200
 
 
x15 =
 
    -1
 
 
x16 =
 
  -0.0998 - 0.1006i
 
 
x17 =
 
  -0.1019 - 0.1041i
 
 
a =
 
   -0.0998
 
 
b =
 
   -0.1006
 
 
r =
 
    0.1417
 
 
Q =
 
    0.7894
 
>> Q1=Q*(180/pi)
 
Q1 =
 
   45.2287
 
>> 
  • 7 years ago
  • 10
Answer(1)

Purchase the answer to view it

blurred-text
  • attachment
    16923991_1415098841843881_880185144_n.jpg
  • attachment
    complex_numbers_in_matlab_1.docx
  • attachment
    m_file.txt
  • attachment
    16923991_1415098841843881_880185144_n.jpg
  • attachment
    16933683_1415098858510546_1053733889_n.jpg