Butterworth filter: Use and domain types.
Afficher commentaires plus anciens
I am using a butterworth filter to simulate a simple RC filter. The data I am filtering is a voltage signal in the time domain. I believe I am doing everything correctly:
[b,a] = butter(1, fc/(fs/2),'low');
%fc = cutoff freq in Hz, fs = sample frequency in Hz
filtered_data = filter(b, a, data);
%data = data in time domain
plot(time, filtered_data)
My questions are these:
- I assume I can do all of this in the time domain. Is that correct?
- I am implementing a butterworth filter in the "digital domain" but I see that it is possible to implement a filter in the "analog domain". What is the difference and if there is a difference which is most applicable?
Thanks.
Réponse acceptée
Plus de réponses (1)
Corey
le 17 Mai 2011
0 votes
Catégories
En savoir plus sur Butterworth dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!