filtering in frequency domain
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
arash
am 24 Jul. 2014
Kommentiert: Honglei Chen
am 24 Jul. 2014
I have signal say 'data'; i want to cutt off all the frequency above 25 Hz in this signal. what should i do?
0 Kommentare
Akzeptierte Antwort
Honglei Chen
am 24 Jul. 2014
Your question is incomplete. You also need to know the sampling rate of the signal. Once you have the sampling rate, together with the cutoff frequency, you can design a filter using, say butter function and then use filter function to filter the signal.
2 Kommentare
Honglei Chen
am 24 Jul. 2014
so your sampling rate is 100 Hz. In that case, you can design a 4th-order (this is something you can choose but 4 is a good value to start with) Butterworth filter and filter signal x like
[b,a] = butter(4,25/(100/2));
filter(b,a,x)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Filter Design finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!