Design a third order low pass butterworth filter

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 Commenti

What's the question? You want someone to do it all for you? If not be more precise what you are stuck on.
Please read the friendly documentation!
I'm stuck in (ii)
‘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).
‘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?
Yes I'm. but not in matlab.
Well, I suppose you could look it up yourself.
Read fft (link) for some necessary enlightenment.
Can i compute it without sampling frequency? all the examples mention it. but its not given in the question
You can compute the Fourier transform without the sampling frequency. The results will not provide you with any information with respect to frequency.

Accedi per commentare.

Risposte (1)

David Barry
David Barry il 20 Dic 2016
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 Commenti

This is the question
What have you tried so far?
freqs worked for (ii). Im stuck in (iii) now.

Accedi per commentare.

Prodotti

Richiesto:

il 20 Dic 2016

Commentato:

il 22 Dic 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by