Clear Filters
Clear Filters

Using filtfitl with a 1 x 1 dfsos or dffir filter

1 view (last 30 days)
I am using the filter design tool to get the filter I want and then exporting the filter to the MATLAB workspace. The filter file type is 1 x 1 dfsos or dffir, depending on the type of filter I desgin.
When I try to use filtfilt with the designed filter, MATLAB gives me an error.
Error in filtdilt_test (line 84)
fil_s1=filtfilt(Hd1, s1);
where 'Hd1' is my filter and 's1' is the signal.
What am I doing wrong? What else do I need to include in the filtfilt syntax?

Answers (0)

Community Treasure Hunt

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

Start Hunting!