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

1 回表示 (過去 30 日間)
shilpa
shilpa 2013 年 1 月 1 日
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