Image:Dba plot.png

From Wikipedia, the free encyclopedia

[edit] Second revision

This was created using the following gnuplot source:

kA = 7.397057228624818216e9
H(s) = kA*s**4 / ((s+129.4)**2 * (s+676.7) * (s+4636) * (s+76655)**2)
dba(f) = 20 * log10(abs(H(2 * {0.0,1.0} * pi * f)))

set size square
set grid
set logscale x 10
set xlabel "Frequency (Hz)"
set ylabel "Gain (dB)"

plot [10:39999] (x>2e4)? 0/0 : dba(x) lt 3 notitle

See also User_talk:MarkSweep/archive2#Gnuplot, commons:Image:Weighting curves.png

[edit] First revision

(http://upload.wikimedia.org/wikipedia/en/archive/d/d3/20050317071653%21Dba_plot.png)

I made this. It is public domain. See my page for details. - Omegatron 01:37, Mar 5, 2005 (UTC)

Replacement for Image:DBA.gif

Created with maxima (or gnuplot, I guess) and edited in the GIMP, since I don't have the patience to scour documentation for things I am only going to use once or twice.

H:(kA*s^4)/((s+129.4)^2*(s+676.7)*(s+4636)*(s+76655)^2);
H:ev(H,s=%I*w);
H:ev(H,kA=7.397057228624816E+9);
H:ev(H,w=2*%PI*f);
SET_PLOT_OPTION([GNUPLOT_PREAMBLE, "set log x"]);
plot2d(20*log10(abs(H)),[f,10.1,20000]);

No, I don't know what I'm doing.

with my custom functions (in maxima-init.mac):

convert voltage gain to decibels:

db(x):=float(20*log(x)/log(10));

convert decibels to voltage gain:

idb(x):=float(10^(x/20));

electrical elements in parallel:

INFIX("||")$ "||"(x,y):=x*y/(x+y);

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current07:16, 17 March 20051,200×1,200 (170 KB)MarkSweep (Talk | contribs) (larger, anti-aliased version {{PD}})
01:36, 5 March 2005454×386 (8 KB)Omegatron (Talk | contribs) (I made this. It is public domain. See my page for details. - ~~~~ <br/> {{PD}})

No pages on the English Wikipedia link to this file. (Pages on other projects are not counted.)