Plot and compare probability distribution (3 Dimension) in matlab
Mostrar comentarios más antiguos
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
Respuestas (3)
Daniel Shub
el 8 de Dic. de 2011
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 comentarios
Sayanta
el 8 de Dic. de 2011
Daniel Shub
el 8 de Dic. de 2011
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
el 8 de Dic. de 2011
figure;
subplot(121);
mesh(A)
subplot(122);
mesh(B)
?
Yesid Goyes
el 12 de Dic. de 2011
0 votos
hello. you must used SLICE
doc slice
I have this problem for seismic data.
Categorías
Más información sobre 2-D and 3-D Plots en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!