Local smoothing of peaks for a matrix

2 ビュー (過去 30 日間)
Luca Sulpizio
Luca Sulpizio 2020 年 5 月 25 日
コメント済み: Star Strider 2020 年 5 月 26 日
Good morning,
I have a problem concerning the data of a matrix. Each data represents the value of curvature of a plate through its surface. However, in some regions of the surface (and then, in some group of values of the matrix) there are some strange values that I need to be smoothed. I can't filter out those values because I need all the values of the matrix, so it's just necessary to smooth those strange values. I tried to use the function "smoothdata", but the problem is that it smooths all the data of the matrix, while I need the correct values to remain not modified. I need some local smoothing/filtering.
You can find attached an image which show the plot of these curvature values through the surface.
Here is the code of this plot, KxxFE is the matrix of interest.
figure('color',[1 1 1])
surf(KxxFE);
colorbar;
colormap('hot');
Any help about this? Thank you so much

採用された回答

Star Strider
Star Strider 2020 年 5 月 25 日
If you have R2018b or later, see if the rmoutliers function will do what you want.
  4 件のコメント
Luca Sulpizio
Luca Sulpizio 2020 年 5 月 26 日
This function is way better, and it manages to solve the problem about dimensions, even if I need a more accurate smoothing, but I will eventually try with similar functions. Thank you so much!
Star Strider
Star Strider 2020 年 5 月 26 日
As always, my pleasure!

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePreprocessing Data についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by