フィルターのクリア

Shaping Data for Contour Plots

1 回表示 (過去 30 日間)
Christoph
Christoph 2013 年 2 月 27 日
I am trying to plot a contour from data I get from a measurement. In the experiment I have two independent variables x1, x2 and the transmission signal that is T
The Data would read like this
x1=[1 1 1 2 2 2 3 3 3....]
x2=[5 6 7 5 6 7 5 6 7....]
T=[9 8 7 6 5 4 3 2 1 ....]
(I hope you get the idea!).
As I understand from the help contour(Z) requires Z=f(x,y) or in my case T=f(x1,x2) (the real data will have no analytic expression), but I don't really understand how I have to preprocess my data for contour plotting.
Hope someone can help me out here or point me in the right direction!
Best Wishes, Chris
  1 件のコメント
Christoph
Christoph 2013 年 2 月 27 日
To clarify: the actual spacing in x1 and x2 is not 1, but it is the same for every set of data:
x1=[1 1 1 1 1 1 1 1 1 3......]
x2=[ 300 375 450 525 600 675 750 825 900 300 ....]
T=[ 0.4393 0.6799 0.4938 0.5233 0.6107 0.4312 0.6909 0.4153 0.6115 0.4392....]
and so on!

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

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 27 日
TriScatteredInterp()
  3 件のコメント
Walter Roberson
Walter Roberson 2013 年 2 月 27 日
... but I'm supposed to be sleeping :-(
Christoph
Christoph 2013 年 2 月 27 日
You better go before your wife or girlfriend gets angry at me for keeping you awake! ;)

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

その他の回答 (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