フィルターのクリア

Denoising a signal with FFT

15 ビュー (過去 30 日間)
Pau Jordan
Pau Jordan 2020 年 7 月 1 日
回答済み: Pratyush Roy 2021 年 2 月 3 日
Hi, I'm new in MATLAB.
Currently I am doing a project related with speech recognition. Now i need to clear the signal i record. I followed this Steve Brunton instructions (https://www.youtube.com/watch?v=c249W6uc7ho) but i can't do it. Can some one tell me what's wrong with my code? I get a strange "PSDclean" plot.
CODE IS CLIPPED
Thanks.

回答 (1 件)

Pratyush Roy
Pratyush Roy 2021 年 2 月 3 日
Hi,
The array f stores the audio data obtained as a numeric array in MATLAB. This is not the same as an array containing the frequency values which in this case is freq. So instead of using the command plot(f,ffilt) to plot the clean PSD, you can use the following command
plot(freq(L),PSDclean(L))
Here L denotes the number of samples in the first half of the freq values.
Hope this helps!

カテゴリ

Help Center および File ExchangeParametric Spectral Estimation についてさらに検索

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by