Page 53 - Numerical Analysis Using MATLAB and Excel
P. 53
Chapter 1 Introduction to MATLAB
4.
w=[5 6 7 8 9 10 11 12 13 14 15 16]*100;
Vc=[88.9 98.5 103 104.9 105.3 104.8 103.8 102.4 100.7 98.9 96.5 94.9];
dB=20*log10(Vc); semilogx(w,dB); grid; title('Magnitude of Vc vs. w');...
xlabel('w in rads/sec'); ylabel('|Vc| in volts')
Magnitude of Vc vs. w
40.5
40
|Vc| in volts 39.5
39
38.5
2 3 4
10 10 10
w in rads/sec
1−40 Numerical Analysis Using MATLAB® and Excel®, Third Edition
Copyright © Orchard Publications