what is the code to apply filters (lowpass and highpass) for signals read?

2 次查看(过去 30 天)
y=wavread(filename); wavplay(y,11025); wavwrite(y,11025,filename);

回答(1 个)

Amith Kamath
Amith Kamath 2013-1-3
Assuming you have the Signal Processing Toolbox installed, you could use the FDA Tool to specify the parameters for your filter. Some info is here: http://www.mathworks.com/help/signal/examples/introduction-to-the-filter-design-and-analysis-tool-fdatool.html
Now that you have the required characteristics, export it to the workspace, and operate it on y using http://www.mathworks.com/help/matlab/ref/filter.html.

Community Treasure Hunt

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

Start Hunting!

Translated by