- #1
odimachkie
- 1
- 0
Homework Statement
use MATLAB to model a lowpass and highpass filter
Homework Equations
the high-pass filter:
V(sin(ωt)) = 1/C ∫i dt + iR
V(ω/(s^2 + ω^2)) = 1/C ∫i dt + iR
⇔LAPLACE⇔
L(i) = (Vωs/R)(1/(s^2 + ω^2)(s + 1/RC)) ⇔ partial fractions...
⇔LAPLACE^-1⇔
V/2 (cos(t) + sin(t)) - (V/2) e^-t
hope i got that all right...
The Attempt at a Solution
I can plot the poles on the s-plane and I can successfully transform and inverse transform into a statement with cos & sin...all on paper.
this question is more of a plea for help with matlab. I'm hoping someone has experience doing this sort of thing with MATLAB as i have next to no MATLAB knowledge... and our prof has just tossed us into the deep end without any guidance. he doesn't even know how to use it.
any sort of reference would be helpful.
Last edited: