extrapolation of contour data set

5 ビュー (過去 30 日間)
Asliddin Komilov
Asliddin Komilov 2022 年 5 月 6 日
コメント済み: Bjorn Gustavsson 2022 年 5 月 6 日
Hello everyone!
I have made a contour from my data (both is attached), but I need have data in contour that is from 0 to 0,1.
I tried to increase the size of the matrix by giving smaller increment to the variable but even 1000x1000 matrix gave the same contour.
If you know the solution, please share. Thanks

採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2022 年 5 月 6 日
Since the minimum value of your counttest-variable is 0.0853 or thereabouts you will never get any contour for levels lower than that. You can make contours at arbitrary levels of your choise:
contour(counttest,[0:0.001:0.1,0.2:0.1:1]) % or whatever levels you so desire in the range of the data
HTH
  2 件のコメント
Asliddin Komilov
Asliddin Komilov 2022 年 5 月 6 日
cannot extrapolate/interpolate the data towards zero?
Bjorn Gustavsson
Bjorn Gustavsson 2022 年 5 月 6 日
You should always look at your data first. Try:
plot(counttest)
and you will see that you have a rather broad minima in your 2-D data. Any interpolation will lead to additional points inbetween the values around your interpolation-points. If you were to extrapolate outside the edges of your data the "sensible" (in the extent that can be applied to extrapolation) extrapolations would lead to increasing values - since both gradient and second derivatives are positive. Therefore your data will have a minimum at around 0.0853. If you expect to get some response at below that you will have to do something completely different.

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by