Sunteți pe pagina 1din 16

Full documentation available at www.swarthmore.edu/NatSci/echeeve1/Ref/mna/MNA1.

html

Started -- please be patient.

Done! Elapsed time = 8.18641 seconds.

Netlist

R1 1 2 1

R2 7 0 1

C1 3 0 0.9277

C2 4 0 1.7435

C3 5 0 1.7435
C4 6 0 0.9277

L1 2 3 0.3222

L2 3 4 1.4213

L3 4 5 1.8554

L4 5 6 1.4213

L5 6 7 0.322

V1 1 0 1

Solved variables:

v_1

v_2

v_3

v_4

v_5

v_6

v_7

I_V1

Full documentation available at www.swarthmore.edu/NatSci/echeeve1/Ref/mna/MNA1.html

>> eval(I_V1/v_1)

ans =

-((7109740203765659*s^8)/2251799813685248 + (5519984630252841*s^7)/562949953421312 +
(89437717596627543*s^6)/4503599627370496 + (64963128562069699*s^5)/2251799813685248
+ (280062896833843697*s^4)/9007199254740992 +
(112053027848483267*s^3)/4503599627370496 +
(128528683728369023*s^2)/9007199254740992 + (3339*s)/625 + 1)/
((4581516587306591*s^9)/4503599627370496 + (222248381175555*s^8)/35184372088832 +
(353217522696443685*s^7)/18014398509481984 +
(89450710222339955*s^6)/2251799813685248 +
(2078621419946666091*s^5)/36028797018963968 +
(140042653719706695*s^4)/2251799813685248 +
(896375897246772197*s^3)/18014398509481984 +
(128533495734498875*s^2)/4503599627370496 + (53423*s)/5000 + 2)

>> [num den]=(eval(I_V1/v_1))

Error using sym/eval

Too many output arguments.

>> [n,d]=(eval(I_V1/v_1))}

[n,d]=(eval(I_V1/v_1))}

Error: Unbalanced or unexpected parenthesis or bracket.

>> [n,d]=(eval(v_7/v_1))

Error using sym/eval

Too many output arguments.

>> [n,d]=(eval(I_V1/v_1))}

[n,d]=(eval(I_V1/v_1))}

Error: Unbalanced or unexpected parenthesis or bracket.


>> [n,d]=numden(eval(v_7/v_1))

n=

22517998136852480000

d=

22907582936532955000*s^9 + 142238963952355200000*s^8 + 441521903370554606250*s^7 +


894507102223399550000*s^6 + 1299138387466666306875*s^5 +
1400426537197066950000*s^4 + 1120469871558465246250*s^3 +
642667478672494375000*s^2 + 240595802893014007808*s + 45035996273704960000

>> sys=tf(num,den)

Undefined function or variable 'num'.

>> mySys=tf(sym2poly(n),sym2poly(d))

mySys =

2.252e19

----------------------------------------------------------------------------------------------------------
2.291e19 s^9 + 1.422e20 s^8 + 4.415e20 s^7 + 8.945e20 s^6 + 1.299e21 s^5 + 1.4e21 s^4 +
1.12e21 s^3

+ 6.427e20 s^2 + 2.406e20 s + 4.504e19

Continuous-time transfer function.

>> bodeplot(mySys)

>>

Segundo
Full documentation available at www.swarthmore.edu/NatSci/echeeve1/Ref/mna/MNA1.html

Started -- please be patient.

Done! Elapsed time = 7.31391 seconds.

Netlist

R1 1 2 1

R2 6 0 1

C1 2 0 0.3222

C3 3 0 1.4213

C5 4 0 1.8554

C7 5 0 1.4213

C9 6 0 0.3222

L2 2 3 0.9277

L4 3 4 1.7435

L6 4 5 1.7435

L8 5 6 0.9277

V1 1 0 1

Solved variables:

v_1

v_2

v_3

v_4
v_5

v_6

I_V1

Full documentation available at www.swarthmore.edu/NatSci/echeeve1/Ref/mna/MNA1.html

>> eval(v_6/v_1)

ans =

1/((4584362249783179*s^9)/4503599627370496 +
(7114156191469861*s^8)/1125899906842624 + (88322273414680541*s^7)/4503599627370496
+ (178927405696104757*s^6)/4503599627370496 +
(2078845506121102173*s^5)/36028797018963968 +
(17506732377811443*s^4)/281474976710656 +
(896427312569868443*s^3)/18014398509481984 +
(128538307740628727*s^2)/4503599627370496 + (6678*s)/625 + 2)

>> [n,d]=numden(eval(v_6/v_1))

n=

22517998136852480000

d=
22921811248915895000*s^9 + 142283123829397220000*s^8 + 441611367073402705000*s^7 +
894637028480523785000*s^6 + 1299278441325688858125*s^5 +
1400538590224915440000*s^4 + 1120534140712335553750*s^3 +
642691538703143635000*s^2 + 240600306492641378304*s + 45035996273704960000

>> Sys=tf(n,d)

Error using tf (line 287)

The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors,
where each vector is

nonempty and containing numeric data. Type "help tf.num" or "help tf.den" for more information.

>> Sys=tf[n,d]

Sys=tf[n,d]

Error: Unbalanced or unexpected parenthesis or bracket.

>> MySys=tf(num,den)

Undefined function or variable 'num'.

>> mySys=tf(n,d)

Error using tf (line 287)

The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors,
where each vector is

nonempty and containing numeric data. Type "help tf.num" or "help tf.den" for more information.

>> Sys=tf(n d)

Sys=tf(n d)
|

Error: Unexpected MATLAB expression.

>> Sys=tf(n,d)

Error using tf (line 287)

The values of the "num" and "den" properties must be row vectors or cell arrays of row vectors,
where each vector is

nonempty and containing numeric data. Type "help tf.num" or "help tf.den" for more information.

>> Sys=tf[num,den]

Sys=tf[num,den]

Error: Unbalanced or unexpected parenthesis or bracket.

>> Sys=tf[n,d]

Sys=tf[n,d]

Error: Unbalanced or unexpected parenthesis or bracket.

>> Sys=tf[n d]

Sys=tf[n d]

Error: Unbalanced or unexpected parenthesis or bracket.

>> mySys=tf(sym2poly(n),sym2poly(d))
mySys =

2.252e19

----------------------------------------------------------------------------------------------------------

2.292e19 s^9 + 1.423e20 s^8 + 4.416e20 s^7 + 8.946e20 s^6 + 1.299e21 s^5 + 1.401e21 s^4 +
1.121e21 s^3

+ 6.427e20 s^2 + 2.406e20 s + 4.504e19

Continuous-time transfer function.

>> bode(mySys)

>> pzplot(Sys),grid

Undefined function or variable 'Sys'.

>> pzplot(mySys),grid

>> h=bodeoptions; h.PhaseVisible='off'; bodeplot(mySys,h),grid


>>

h=bodeoptions; h.PhaseVisible='off'; bodeplot(mySys,h),grid

mySys=tf(sym2poly(n),sym2poly(d))

[n,d]=numden(eval(v_6/v_1))
[L,C,K]=CH_I_LADDER(1,1.75,1,45,6,1,1,1)

[L,C,K]=BW_LADDER(1,1.5,1.5,30,10,1,1,1)

[G,Z,P]=CH_II_POLES(1,1.3,0.5,30,7)

wc=1;

ws=1.5;

Rs=1;

RL=1;

Ladder=0;

[L,C,Rs,RL,W0,K]=CH_II_LADDER(G,Z,P,wc,ws,Rs,RL,Ladder)

R1 1 2 1

R2 9 0 1

C2 4 0 0.8213

C4 6 0 1.2526

C6 8 0 0.1524

L1 2 3 0.2205

L2 3 4 0.1356

L3 3 5 1.2297

L4 5 6 0.2888

L5 5 7 1.7036

L6 7 8 3.6898

L7 7 9 -0.9274

V1 1 0 1

Pi

R1 1 2 1

R2 5 0 1

C1 2 0 0.2205
C2 2 3 0.1356

C3 3 0 1.2297

C4 3 4 0.2888

C5 4 0 1.7036

C6 4 5 3.6898

C7 5 0 -0.9274

L1 2 3 0.8213

L2 3 4 1.2526

L3 4 5 0.1524

V1 1 0 1

PARA TIPO T

R1 1 2 1

R2 5 0 1

C2 3 0 0.9545

C4 4 0 0.9998

C6 5 0 0.9545

L1 2 3 2.6985

L3 3 4 3.6870

L5 4 5 3.6870

L7 5 6 2.6985

V1 1 0 1

Para tipi

Pi

R1 1 2 1

R2 5 0 1
C1 2 0 1.7373

C3 3 0 2.6383

C5 4 0 2.6383

C7 5 0 1.7373

L2 2 3 1.2582

L4 3 4 1.3443

L6 4 5 1.2582

V1 1 0 1

R1 1 2 1

R2 6 0 1

C2 3 0 0.9545

C4 4 0 0.9998

C6 5 0 0.9545

L1 2 3 2.6985

L3 3 4 3.6870

L5 4 5 3.6870

L7 5 6 2.6985

V1 1 0 1

S-ar putea să vă placă și