How to use scatteredInterpolant?
古いコメントを表示
Dear all,
I am trying to make the plot below look better, and since I don't have enough data for that I would like to use the scatterdInterpolant command. However, what I am using so far does not work. Do you have any ideas?
I thank you in advance.
Cheers, Manolis
3 件のコメント
John D'Errico
2018 年 6 月 10 日
編集済み: John D'Errico
2018 年 6 月 10 日
Sorry. You cannot use scatteredInterpolant to smooth or enhance an image. That is not what it does, nor would it be of any value at all for that purpose.
Do you have data in the form of scattered data points?
Emmanouil Rachoutis
2018 年 6 月 11 日
John D'Errico
2018 年 6 月 11 日
Then you already know how to use scatteredInterpolant. Just apparently, not how to use it well, or even if scatteredInterpolant is the correct tool.
Show what you did then. Because the answer is not how to modify the plot AFTER you used scatteredInterpolant, but how to use the tool properly (or the proper tool) to produce a better result.
Thus, since scatteredInterpolant will only provide at best a piecewise linear surface, you may want to use a tool like griddata or my own gridfit. If you attach the data, then I could suggest better tools. But without seeing the data, I am left with suggesting that POSSIBLY, one of those alternatives would be a better choice than the use of tools to resize an array AFTER it has been created.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!