Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!r20g2000yqd.googlegroups.com!not-for-mail
From: ImageAnalyst <imageanalyst@mailinator.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: plotting joint distribution?
Date: Sun, 5 Jun 2011 05:46:40 -0700 (PDT)
Organization: http://groups.google.com
Lines: 24
Message-ID: <3f948755-ddab-4cb3-bed3-136489b4ffd4@r20g2000yqd.googlegroups.com>
References: <isf6tb$boq$1@newscl01ah.mathworks.com>
NNTP-Posting-Host: 184.57.134.178
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1307278000 20948 127.0.0.1 (5 Jun 2011 12:46:40 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Sun, 5 Jun 2011 12:46:40 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: r20g2000yqd.googlegroups.com; posting-host=184.57.134.178; posting-account=0rLUzAkAAABojYSRC64DkTbtiSCX77HH
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1,gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:730288

On Jun 5, 2:15 am, "Gary " <iamtkdk...@hotmail.com> wrote:
> Hi,
>
> I am new to matlab and wonder if anyone would be able to help the following:
> I now have a group of simulated data shown in a 1000-by-12 matrix, thus 1000 simulations and 12 variables. Does anybody know how to plot the sample joint distribution of these simulated data??? (I have spent days on this but failed to find a clue, I will be very much grateful if someone could give a hint !!!)
>
> Thanks in advance!
> Gary

------------------------------------------------
What do you mean by joint distribution?  How about scatter() to plot
two variables against each other?  Something like
scatter(data(:,3), data(:,7));
to plot variable 3 against variable 7.
Do you then need to find some analytical equation that would fit that
distribution?  How about polyfitn by John D'Errico?
http://www.mathworks.com/matlabcentral/fileexchange/10065-polyfitn
There may be other formulas that could be better if you know something
about the expected form of your distribution.