Probabiliy Distributions in 3-D

조회 수: 1 (최근 30일)
Mohammed Asim Shakir Irshad
Mohammed Asim Shakir Irshad 2021년 3월 21일
답변: Arthi Sathyamurthi 2021년 3월 24일
Hello,
To give some context, I have a set of Gaussian kernel pdfs representing the temperature of the atmosphere as a function of altitude: [n x n] Dist variable (can convert to an [i x i] double using the pdf function in MATLAB).
I am able to individually plot the pdfs of each altitude (plot(x,y) or similar), but I am looking to plot all the pdfs on a 3-D plot of sorts. The aim is to more comprehensively show the pdfs in a report and given the nature of them I believe this approach would be better.
I explored the mathworks forums to see if I could find any advice but what I have found seems fairly vague in relation to my problem. Any recommendations, or previous discussion forums that are useful here I would appreciate.

채택된 답변

Arthi Sathyamurthi
Arthi Sathyamurthi 2021년 3월 24일
You can use the surf function to create a 3D surface plot. This function lets you have an interactive 3D plot where you can have your altitude in the z axis and plot your temperature. You can also use the contour function to look the contour of your PDF which would give you a good interference on the PDF.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Contour Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by