Azzera filtri
Azzera filtri

Probability plot HELP!!!

4 visualizzazioni (ultimi 30 giorni)
matteo
matteo il 15 Giu 2016
Risposto: Peter Cook il 15 Giu 2016
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

Risposta accettata

Peter Cook
Peter Cook il 15 Giu 2016
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--')

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by