Design a third order low pass butterworth filter
Show older comments
I want to design a 3rd order butterworth filter with a cutoff frequency 160 rad/s. The input signal is a square wave with magnitude of +-1V. and fundemental frequency of 130 rad/s. I must use butter(N,Wn,'s') command. And i have to find the magnitude and phase spectra of the filter.
10 Comments
Adam
on 20 Dec 2016
What's the question? You want someone to do it all for you? If not be more precise what you are stuck on.
Star Strider
on 20 Dec 2016
Please read the friendly documentation!
Group 1
on 21 Dec 2016
Group 1
on 21 Dec 2016
Star Strider
on 21 Dec 2016
‘I'm stuck in (ii)’
No, you aren’t.
I specifically told you what function to use and how to use it in your other (essentially duplicated) post.
If you don’t want to read the documentation or even the correct Answers to your Questions, I suggest that you drop this course, and all other courses using MATLAB (and that covers all engineering and most other scientific disciplines).
Star Strider
on 22 Dec 2016
‘Im stuck in (iii) now.’
You need the Spectrum Analyzer in Simscape. I don’t have Simscape, so you’re on your own.
For the MATLAB part, are you familiar with the Fourier transform?
Group 1
on 22 Dec 2016
Star Strider
on 22 Dec 2016
Well, I suppose you could look it up yourself.
Group 1
on 22 Dec 2016
Star Strider
on 22 Dec 2016
You can compute the Fourier transform without the sampling frequency. The results will not provide you with any information with respect to frequency.
Answers (1)
David Barry
on 20 Dec 2016
0 votes
Read the doc and follow one of the very similar examples. If you are still stuck after that then upload your code and specific question. https://uk.mathworks.com/help/signal/ref/butter.html
4 Comments
Group 1
on 21 Dec 2016
Group 1
on 21 Dec 2016
David Barry
on 21 Dec 2016
What have you tried so far?
Group 1
on 22 Dec 2016
Categories
Find more on Butterworth in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
