Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> V2_1kHz = C2Lab1( 1000 )
- Error: File: C2Lab1.m Line: 57 Column: 9
- Unexpected MATLAB operator.
- >> V2_1kHz = C2Lab1( 1000 )
- Undefined function or variable 'I1'.
- Error in C2Lab1 (line 57)
- V2Vg = ( Z21 .* I1 + Z22 .* I2 ) ./ Vg ;
- >> a = [30 60 100 200 400 800 2000 4000 10000]
- a =
- 30 60 100 200 400 800 2000 4000 10000
- >> a1
- Undefined function or variable 'a1'.
- >> a[1]
- a[1]
- ↑
- Error: Unbalanced or unexpected parenthesis or bracket.
- >> a
- a =
- 30 60 100 200 400 800 2000 4000 10000
- >> a(1)
- ans =
- 30
- >> V2 = C1Lab1( a )
- Undefined function or variable 'C1Lab1'.
- Did you mean:
- >> V2 = C2Lab1( a )
- Error: File: C2Lab1.m Line: 57 Column: 78
- Unbalanced or unexpected parenthesis or bracket.
- >> V2 = C2Lab1( a )
- V2 =
- Columns 1 through 6
- 3.5143 - 0.1699i 3.4899 - 0.3375i 3.4333 - 0.5533i 3.1910 - 1.0286i 2.4883 - 1.6042i 1.3230 - 1.7059i
- Columns 7 through 9
- 0.3093 - 0.9969i 0.0828 - 0.5336i 0.0135 - 0.2177i
- >> figure (1);
- >> plot( a , abs(V2));
- Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information,
- click here.
- >> grid;
- >> figure(2);
- >> loglog(a , abs(V2));
- >> GRID;
- Cannot find an exact (case-sensitive) match for 'GRID'
- The closest match is: grid in C:\Program
- Files\MATLAB\R2016b\toolbox\matlab\graph2d\grid.m
- Did you mean:
- >> grid;
- >> abs(a)
- ans =
- 30 60 100 200 400 800 2000 4000 10000
- >> abs(V2)
- ans =
- 3.5184 3.5061 3.4776 3.3526 2.9606 2.1588 1.0437 0.5399 0.2181
- >> angle(V2)
- ans =
- -0.0483 -0.0964 -0.1598 -0.3118 -0.5726 -0.9111 -1.2700 -1.4169 -1.5088
- >> V2_angle
- Undefined function or variable 'V2_angle'.
- >> angle(V2) * 180 / pi
- ans =
- -2.7681 -5.5234 -9.1556 -17.8661 -32.8089 -52.2035 -72.7644 -81.1828 -86.4495
- >> a = [30 60 100 200 400 800 2000 4000 10000]
- a =
- 30 60 100 200 400 800 2000 4000 10000
- >> a = [30 60 100 200 400 800 2000 4000 7000 10000]
- a =
- Columns 1 through 9
- 30 60 100 200 400 800 2000 4000 7000
- Column 10
- 10000
- >> V2 = C2Lab1( a )
- V2 =
- Columns 1 through 5
- 3.5143 - 0.1699i 3.4899 - 0.3375i 3.4333 - 0.5533i 3.1910 - 1.0286i 2.4883 - 1.6042i
- Columns 6 through 10
- 1.3230 - 1.7059i 0.3093 - 0.9969i 0.0828 - 0.5336i 0.0275 - 0.3098i 0.0135 - 0.2177i
- >> figure (1);
- >> plot( a , abs(V2));
- >> grid;
- >> loglog(a , abs(V2));
- >> grid;
- >> angle(V2) * 180 / pi
- ans =
- -2.7681 -5.5234 -9.1556 -17.8661 -32.8089 -52.2035 -72.7644 -81.1828 -84.9347 -86.4495
- >> abs(V2)
- ans =
- 3.5184 3.5061 3.4776 3.3526 2.9606 2.1588 1.0437 0.5399 0.3110 0.2181
- >> figure (1);
- >> plot( a , abs(V2));
- >> grid;
- >> figure(2);
- >> loglog(a , abs(V2));
- >> grid;
- >> loglog(a , abs(V2));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement