23.01.2015 Views

Download - Wolfram Research

Download - Wolfram Research

Download - Wolfram Research

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

392 3. Reference Manual<br />

Simplify the result.<br />

In[11]:= Simplify[sag]<br />

Out[11]=<br />

C1 C2 R1 R2 RC RL s 2<br />

Cbc$Q1 Cbe$Q1 Rbe$Q1 RE s 2 beta$Q1 1 Cbc$Q1 RE s <br />

beta$Q1 R2 RE 1 C2 RL s R1 beta$Q1 RE 1 C2 RL s <br />

R2 1 C2 RL s 1 C1 Cbc$Q1 Cbe$Q1 Rbe$Q1 RC RE s 3 <br />

beta$Q1 C1 RE s 1 Cbc$Q1 RC s<br />

To validate the result, we compute the frequency response of the original system numerically and<br />

compare it graphically with the approximated result.<br />

Compute the frequency<br />

response numerically.<br />

In[12]:= acsweep = ACAnalysis[eqs, V$5, {f, 1, 1.0*^9}]<br />

Out[12]=<br />

V$5 InterpolatingFunction1., 1. 10 9 , <br />

Evaluate the approximated<br />

expression numerically.<br />

Plot the exact and<br />

approximated functions<br />

together.<br />

In[13]:= sagn[s_] = sag /. dp<br />

Out[13]=<br />

9.7196 10 10 s 2 485.98 s 3 7.2897 10 8 s 4 3.41 10 14 <br />

1.6027 10 13 s 4.418 10 10 s 2 485.98 s 3 7.2897 10 8 s 4 <br />

In[14]:= BodePlot[acsweep, {V$5[f], sagn[2 Pi I f]},<br />

{f, 1, 1.0*^9}, TraceNames −> {"Exact", "Approximated"}]<br />

Magnitude (dB)<br />

Phase (deg)<br />

5<br />

2.5<br />

0<br />

-2.5<br />

-5<br />

-7.5<br />

-10<br />

1.0E0 1.0E2 1.0E4 1.0E6 1.0E8<br />

Frequency<br />

-50 0<br />

-100<br />

-150<br />

-200<br />

-250<br />

-300<br />

-350<br />

1.0E0 1.0E2 1.0E4 1.0E6 1.0E8<br />

Frequency<br />

Exact Approximated<br />

Out[14]= Graphics <br />

3.11.3 ApproximateMatrixEquation<br />

ApproximateMatrixEquation[dae, var, errspec]<br />

approximates a symbolic matrix equation dae with respect<br />

to the output variable var and the error specification errspec<br />

Command structure of ApproximateMatrixEquation.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!