HOME
EDITOR
MATLAB R2015a
O 3-□ ■=;
| Run Section Advance
..... C5 ^3> _ 3? ®l QSearch Documentation
L^j Find Files Compare ▼
New Open Save ▼ ▼ ▼ Print ▼
FILE
NAYICATE
Insert [=3, fx Comment _££ gg Indent
EDIT
&
Breakpoints
Run Run and ▼ Advance
BREAKPOINTS
Run and Time
RUN
/ ► Users ► Moises ► Documents ► MATLAB
Current Folder
Bi Name a ^ butterworthlowpass.m FR butterworthiowpass.mat Q chebyshev_high_pass.m Q Code.m Q Finalcode.m FPEC xygrid.xls FPECxydensity.xlsx lowpass_ackerberg.m plot_lowpass.m ^ sallenkey.m m TowThomas.m
©
Details |
/V | |
O | ||
Workspace |
© |
O |
2 Editor - /Users/Moises/Documents/MATLAB/lowpass_ackerberg.m
iowpass_ackerberg.m
wl = logspace(0,9,200); s = i. *wl; a = 0 b = 0 c = 0 d = 1 Q = 1 k = 1 w0 = le3;
tn = -((a*(s.~2))+(s.*(w0/Q))*(a-(b*k*Q) td = (s.~2)+(s.*(w0/Q))+(w0~2); tl = tn./td;
plot(log10(wl), 20*logl0(abs(tl)));grid elear all;
Command Window
I# ® • |
Figurę 1 | |
File Edit View |
Insert Tools Desktop Window Help | |
- a □ id ■ o |
50
□
Low pass
-100 -
-150 -
-200 -
— |
— |
— |
— |
— |
— |
— |
— | |
/ / / / / |
V | |||||||
/ / / |
X \ | |||||||
\ \ \ > |
/ / / / / / | |||||||
/ / / / / / / / / / | ||||||||
_ |
_ |
_ |
_ |
_ |
_ |
_ |
_ |
X \ \ \ \ X |
-250
Ln 14 Col 11