Clear Filters
Clear Filters

fftfilt function inputs and output

3 views (last 30 days)
Does the inputs and output of the function fftfilt should be in the time or frequency domain? i coundt understaned it based on the documentation

Accepted Answer

Just Manuel
Just Manuel on 11 Feb 2021
The short answer:
Feed your data in time domain to fftfilt and you will receive filtered data in time domain.
The pedantic answer:
ffftfilt outputs the filtered data in the same domain you put it in. While it is most common to have signals recorded at certain time intervals (thus being in the time domain), you can have all sorts of domains. For instance if you measure a geometric profile, you can have your data at equal distance intervals. Thus your data is in the distance domain. You will have to be aware what the frequencies mean when designing the filter to apply. In the above example, you will need to use space frequencies instead of time frequencies.

More Answers (1)

Matt J
Matt J on 11 Feb 2021
The time domain.


Community Treasure Hunt

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

Start Hunting!