Plot and compare probability distribution (3 Dimension) in matlab
显示 更早的评论
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
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
2011-12-8
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
2011-12-8
figure;
subplot(121);
mesh(A)
subplot(122);
mesh(B)
?
Yesid Goyes
2011-12-12
0 个投票
hello. you must used SLICE
doc slice
I have this problem for seismic data.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!