Created
December 1, 2020 14:25
-
-
Save bezborodow/90c6e79e094ef1fbd8be98934cc15f5b to your computer and use it in GitHub Desktop.
Matlab RLC Bandpass
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fr = @(l, c) 1 / (2 * pi * sqrt(l*c) ); | |
xl = @(l, c) 2 * pi * fr(l, c) * l; | |
xc = @(l, c) 1 / (2 * pi * fr(l, c) * c); | |
q = @(l, c, r) r / xl(l, c); | |
bw = @(l, c, r) fr(l, c) / q(l, c, r); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
octave:11> r = 2.2e3;
octave:12> c = 22e-9;
octave:13> l = 47e-3;
octave:14> bw(l, c, r)
ans = 3288.3
octave:15> r = 10e3;
octave:16> bw(l, c, r)
ans = 723.43