フィルターのクリア

Probability plot HELP!!!

4 ビュー (過去 30 日間)
matteo
matteo 2016 年 6 月 15 日
回答済み: Peter Cook 2016 年 6 月 15 日
Hello,
I've got two 12x24 matrices, which represent the 12 months of the year and the 24 hours of the day and which are depicted by the circles on the figure below. Now, I'd like to add the plots of the 2 gaussian probabilities as in figure below, and also add the concentric curves around the circles, may I have an help to do that?
thank you for your time.
Regards,
Mat

採用された回答

Peter Cook
Peter Cook 2016 年 6 月 15 日
To fit a gaussian contour to your 2d data, you could try fitgmdist.
To plot traces of the mean & max pdfs, compute the mean and std of the measurement of interest (I can't tell from this figure if its supposed to be pressure or temperature) then plot the pdf.
mew = mean(x); sig = std(x);
y = 1/sqrt(2*pi*sig^2)*exp(-(x-mew).^2/2/sig^2);
plot([y y(1)],[x x(1)],'k--')

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScatter Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by