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


Public domain

This image has been (or is hereby) released into the public domain by its creator, MarkSweep. This applies worldwide.
In case this is not legally possible,
the creator grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Subject to disclaimers.

[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);


Public domain

This image has been (or is hereby) released into the public domain by its creator, Omegatron. This applies worldwide.
In case this is not legally possible,
the creator grants anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.
Subject to disclaimers.

File history

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.


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