How to interpolate a surface without changing the convexity

2 ビュー (過去 30 日間)
Weitao Chen
Weitao Chen 2022 年 9 月 6 日
回答済み: vamshi sai yele 2022 年 9 月 14 日
I want to smooth my 3D data surface by interpolation. It looks like this
I tried with method 'cubic' and 'akima' but these methods chang the convexity. Any method to interpolate my data without introducing the peak and valley?
  1 件のコメント
Torsten
Torsten 2022 年 9 月 6 日
編集済み: Torsten 2022 年 9 月 6 日
Why do you want to smoothe your surface ? In my opinion, it looks smooth enough - the isolines are very regular.
If you want to interpolate, use "interp2" on the original data.

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

回答 (1 件)

vamshi sai yele
vamshi sai yele 2022 年 9 月 14 日
As per my understanding you want smoothen a 3D figure without altering its behaviour.
I have tried from my side to find the solution and below are my findings. Hope you find them helpful.
To smoothen a 3-D figure, there is direct keyword ‘smooth3()’ which simply works as magic. Attached figure-1 shows a result without the keyword and figure – 2 shows after applying the smooth3() function.
Fig-1
Fig-2
The MATLAB code for the above experiment and other useful resources links have been attached below for your reference and for other techniques.
Hope you will find them helpful!

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by