Clear Filters
Clear Filters

Is there a way to visualize the effect of a filter on a signal while designing the filter?

2 views (last 30 days)
Hi! I was trying to use Filter Builder and was wondering if there was a way to have it display the effect of the filter on a vector of data. I want to bring in the data, select different filters and then watch the filtered data change as I change the filter so I can experiment with different filters and find one that works best with my data. Could you please let me know if this is possible? Thanks in advance!

Accepted Answer

Vaibhav Awale
Vaibhav Awale on 11 Jan 2016
Edited: Vaibhav Awale on 11 Jan 2016
Hi,
As mentioned in the following documentation page:
"When you have achieved the desired filter response through design iterations and analysis using the Filter Visualization Tool, apply the filter to the input data. Again, this step is never automatically performed for you by the software. To filter your data, you must explicitly execute this step."
One workaround to visualize the effect of a filter on a signal while designing the filter, is to design a GUI which uses 'filterbuilder'.
I have attached a sample GUI app 'FilterDesign.m' and 'FilterDesign.fig', which imports data from 'SampleData.mat' file, then the filter can be designed using Filter Builder app, and then plots the filtered data. The filter name I have used is 'Hlp' and can be changed in the 'FilterDesign.m' file to your own filter name.
Regards,
Vaibhav Awale

More Answers (0)

Categories

Find more on Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!