Why does the signal become thicker after noise reduction and the dots on both sides diverge?

3 次查看(过去 30 天)
I want to apply a voice noise reduction program similar to the one below to my own 1D signal, but I found that after noise reduction, the 1D signal becomes thicker and the points at both ends of the signal become divergent, and I can't find the cause of this phenomenon and how to fix it. Hope to get your help. Have a great day!
the program is that:
my result is as follow:
the red is clean signal, the yellow is signal with noise, and the green is signal after denoisng.
  3 个评论
Mathieu NOE
Mathieu NOE 2024-9-19
at least the two bottom plots from your yellow window seem just signal + white noise , no a reverb effect.
Are you sure you are using the right tool for the task ? there may be other ways to achieve your goal
very simple solution like smoothing (smoothdata.m) , polyfit or spline smoothing , or this (also usefull for 1D signal denoising) :
Yi Ma
Yi Ma 2024-9-19
@Sumukh sure, the 1D signla as follow 2F8.mat, "R” is clean signal, "y" is signal with noise, and "z" is noise. Each column in R, y, and z is a signal.

请先登录,再进行评论。

回答(1 个)

Mathieu NOE
Mathieu NOE 2024-9-20
hello again
you can already get decent results with smoothdata , other smoothing techniques based on splines or NN could also work
this is the 4th y data , processed with the code shown below :
for k = 1:4
figure(k)
ys1 = smoothdata(y(:,k),'sgolay',150);
ys2 = smoothn(y(:,k),'robust');
plot(y(:,k))
hold on
plot(ys1)
plot(ys2)
legend('noisy signal','smoothdata','smoothn')
end
  4 个评论
Yi Ma
Yi Ma 2024-9-24
编辑:Yi Ma 2024-9-24
yes, i have tried it as your method, the result is interesting. as the follows figures, only the second signal is perfect. i will to look at why this happens. This inspires me a lot, thank you very much!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by