daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. >>  V2_1kHz = C2Lab1( 1000 )
  2. Error: File: C2Lab1.m Line: 57 Column: 9
  3. Unexpected MATLAB operator.
  4.  
  5. >> V2_1kHz = C2Lab1( 1000 )
  6. Undefined function or variable 'I1'.
  7.  
  8. Error in C2Lab1 (line 57)
  9. V2Vg =  ( Z21 .* I1 + Z22 .* I2 ) ./ Vg ;
  10.  
  11. >> a =  [30 60 100 200 400 800 2000 4000 10000]
  12.  
  13. a =
  14.  
  15.           30          60         100         200         400         800        2000        4000       10000
  16.  
  17. >> a1
  18. Undefined function or variable 'a1'.
  19.  
  20. >> a[1]
  21.  a[1]
  22.   ↑
  23. Error: Unbalanced or unexpected parenthesis or bracket.
  24.  
  25. >> a
  26.  
  27. a =
  28.  
  29.           30          60         100         200         400         800        2000        4000       10000
  30.  
  31. >> a(1)
  32.  
  33. ans =
  34.  
  35.     30
  36.  
  37. >> V2 = C1Lab1( a )
  38. Undefined function or variable 'C1Lab1'.
  39.  
  40. Did you mean:
  41. >> V2 = C2Lab1( a )
  42. Error: File: C2Lab1.m Line: 57 Column: 78
  43. Unbalanced or unexpected parenthesis or bracket.
  44.  
  45. >> V2 = C2Lab1( a )
  46.  
  47. V2 =
  48.  
  49.   Columns 1 through 6
  50.  
  51.    3.5143 - 0.1699i   3.4899 - 0.3375i   3.4333 - 0.5533i   3.1910 - 1.0286i   2.4883 - 1.6042i   1.3230 - 1.7059i
  52.  
  53.   Columns 7 through 9
  54.  
  55.    0.3093 - 0.9969i   0.0828 - 0.5336i   0.0135 - 0.2177i
  56.  
  57. >> figure (1);
  58. >> plot( a , abs(V2));
  59. Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information,
  60. click here.
  61. >> grid;
  62. >> figure(2);
  63. >> loglog(a , abs(V2));
  64. >> GRID;
  65. Cannot find an exact (case-sensitive) match for 'GRID'
  66.  
  67. The closest match is: grid in C:\Program
  68. Files\MATLAB\R2016b\toolbox\matlab\graph2d\grid.m
  69.  
  70. Did you mean:
  71. >> grid;
  72. >> abs(a)
  73.  
  74. ans =
  75.  
  76.           30          60         100         200         400         800        2000        4000       10000
  77.  
  78. >> abs(V2)
  79.  
  80. ans =
  81.  
  82.     3.5184    3.5061    3.4776    3.3526    2.9606    2.1588    1.0437    0.5399    0.2181
  83.  
  84. >> angle(V2)
  85.  
  86. ans =
  87.  
  88.    -0.0483   -0.0964   -0.1598   -0.3118   -0.5726   -0.9111   -1.2700   -1.4169   -1.5088
  89.  
  90. >> V2_angle
  91. Undefined function or variable 'V2_angle'.
  92.  
  93. >> angle(V2) * 180 / pi
  94.  
  95. ans =
  96.  
  97.    -2.7681   -5.5234   -9.1556  -17.8661  -32.8089  -52.2035  -72.7644  -81.1828  -86.4495
  98.  
  99. >> a =  [30 60 100 200 400 800 2000 4000 10000]
  100.  
  101. a =
  102.  
  103.           30          60         100         200         400         800        2000        4000       10000
  104.  
  105. >> a =  [30 60 100 200 400 800 2000 4000 7000 10000]
  106.  
  107. a =
  108.  
  109.   Columns 1 through 9
  110.  
  111.           30          60         100         200         400         800        2000        4000        7000
  112.  
  113.   Column 10
  114.  
  115.        10000
  116.  
  117. >> V2 = C2Lab1( a )
  118.  
  119. V2 =
  120.  
  121.   Columns 1 through 5
  122.  
  123.    3.5143 - 0.1699i   3.4899 - 0.3375i   3.4333 - 0.5533i   3.1910 - 1.0286i   2.4883 - 1.6042i
  124.  
  125.   Columns 6 through 10
  126.  
  127.    1.3230 - 1.7059i   0.3093 - 0.9969i   0.0828 - 0.5336i   0.0275 - 0.3098i   0.0135 - 0.2177i
  128.  
  129. >> figure (1);
  130. >> plot( a , abs(V2));
  131. >> grid;
  132. >> loglog(a , abs(V2));
  133. >> grid;
  134. >> angle(V2) * 180 / pi
  135.  
  136. ans =
  137.  
  138.    -2.7681   -5.5234   -9.1556  -17.8661  -32.8089  -52.2035  -72.7644  -81.1828  -84.9347  -86.4495
  139.  
  140. >> abs(V2)
  141.  
  142. ans =
  143.  
  144.     3.5184    3.5061    3.4776    3.3526    2.9606    2.1588    1.0437    0.5399    0.3110    0.2181
  145.  
  146. >> figure (1);
  147. >> plot( a , abs(V2));
  148. >> grid;
  149. >> figure(2);
  150. >> loglog(a , abs(V2));
  151. >> grid;
  152. >> loglog(a , abs(V2));
RAW Paste Data
Top