フィルターのクリア

two pass split window filter

11 ビュー (過去 30 日間)
ihab
ihab 2018 年 4 月 6 日
回答済み: M. Khishe 2021 年 2 月 4 日
i have spectrogram time X frequency matrix ,with peaks that i want, and noise that i dont want, so, how to use two pass split window filter on the signal to make it more clean.

回答 (1 件)

M. Khishe
M. Khishe 2021 年 2 月 4 日
you can use following commands:
%# some random data resembling yours
x = randn(100,1);
x(75) = -14; x(25) = 20;
subplot(211), plot(x)
%# zero out everything but the high peaks
mu = mean(x); sd = std(x); Z = 3;
x( abs(x-mu) < Z*sd ) = 0;
subplot(212), plot(x)

カテゴリ

Help Center および File ExchangeSmoothing and Denoising についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by