How to smooth and normalize noisy data

21 ビュー (過去 30 日間)
Felix Obite
Felix Obite 2022 年 9 月 18 日
コメント済み: Star Strider 2022 年 9 月 18 日
I plotted sumrate against number of iterations but my data is very noisy. I need a smooth PDF, how can I smooth and normalize the attached noisy data. Thanks.
  2 件のコメント
Chunru
Chunru 2022 年 9 月 18 日
doc smoothdata
Felix Obite
Felix Obite 2022 年 9 月 18 日
i need to improve on this, have tried several smoothing function.

サインインしてコメントする。

採用された回答

Star Strider
Star Strider 2022 年 9 月 18 日
I have no idea what result you want.
One option is the filloutliers function (or similar functions) and another is the Signal Processing Toolbox sgolayfilt function to do broadband filtering.
  2 件のコメント
Felix Obite
Felix Obite 2022 年 9 月 18 日
編集済み: Felix Obite 2022 年 9 月 18 日
hi, i tried sgolayfilt function, but got error message. so I used the following function:
pro_position = [451 461 913 271];
smooth_rate = 0.01; % other pdfs with less smoothing
h = figure;
h.Position = pro_position;
plot(i,smooth(x, smooth_rate))
And this is the best I could get. I need to improve the convergence plot.
Star Strider
Star Strider 2022 年 9 月 18 日
It would be interesting to see your sgolayfilt call. I usually use a degree 3 polynomial, begin with a frame length that is about 5% of the length of the vector, and then adjust the framelength until I get the result I want.
There are several smooth functions. I have no idea which one you are referring to.

サインインしてコメントする。

その他の回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2022 年 9 月 18 日
Please check the smoothdata Matlab function
it can smooth the data in number of ways, note that the trade-off between the actual data points and the averaged data points should be within the acceptable level.
  1 件のコメント
Felix Obite
Felix Obite 2022 年 9 月 18 日
Many thanks

サインインしてコメントする。

カテゴリ

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