フィルターのクリア

Plot and compare probability distribution (3 Dimension) in matlab

1 回表示 (過去 30 日間)
Sayanta
Sayanta 2011 年 12 月 8 日
Dear Experts,
How to plot and compare probability distribution (3 Dimension) in matlab. Is there any specific function in matlab.
Many thanks in advance for you help
regards
SM

回答 (3 件)

Daniel Shub
Daniel Shub 2011 年 12 月 8 日
Do you mean your probability distributions depend on 3 dimensions (x,y,z) or two dimensions (x,y) with the probability being the third?
If you probability only depends on x and y, then you could use mesh
doc mesh
If you need an additional dimension, you could look at conditional probabilities, things like P(x,y|z), and use mesh. You could also try and parameterize the distributions. MATLAB can help you do all these things, but you need to know what you want to do.
  2 件のコメント
Sayanta
Sayanta 2011 年 12 月 8 日
Hi Daniel,
I would like to explain my problem in details:
I want to plot probability distribution from two system A and B. A is observed data of a system. B is the output of an algorithm. Both data are probability distribution of 5 dimension. I want to plot the probability distribution. Is there any matlab function can plot the distribution. I try to use probplot in matlab but doesn't work.
A =
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
1 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 0 0
0 0 1 0 0
B =
1.0000 0 0 0 0
0.8667 0.0267 0.0667 0.0267 0.0133
0.8425 0.0422 0.0806 0.0231 0.0116
0.8415 0.0455 0.0792 0.0225 0.0112
0.8426 0.0451 0.0787 0.0224 0.0112
0.8427 0.0449 0.0786 0.0225 0.0112
0.8427 0.0449 0.0786 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
0.8427 0.0449 0.0787 0.0225 0.0112
Daniel Shub
Daniel Shub 2011 年 12 月 8 日
You cannot visualize 5 dimensions. 2 dimensions is trivial, three is easy, 4 is doable (for example with slices or time), 5 is not practical. You need to do some sort of dimension reduction (e.g., PCA)

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


Sean de Wolski
Sean de Wolski 2011 年 12 月 8 日
figure;
subplot(121);
mesh(A)
subplot(122);
mesh(B)
?

Yesid Goyes
Yesid Goyes 2011 年 12 月 12 日
hello. you must used SLICE
doc slice
I have this problem for seismic data.

カテゴリ

Help Center および File ExchangeDescriptive Statistics and Visualization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by