From: mat001 on
"ade77 " <ade100a(a)gmail.com> wrote in message <hqibkg$h30$1(a)fred.mathworks.com>...
> "mat001 " <dres01(a)lycos.com> wrote in message <hqhtuc$7fo$1(a)fred.mathworks.com>...
> > I have matrix A as 100*100*40.
> >
> > How to generate Gaussian distribution of A.
> >
> >
> > Regards
>
> bin the values and plot it, see if it resembles a Gaussian.
> you can check documentation on these functions :
> hist, histc
>
> I am not certain if this is what you want.
okey I make little more detail

I have density calculation. so here density is a 2d matrix.
now i have to do Gaussian density distribution.
From: ImageAnalyst on
On Apr 20, 6:23 am, "mat001 " <dre...(a)lycos.com> wrote:
> okey I make little more detail
>
> I have density calculation. so here density is a 2d matrix.
> now i have to do Gaussian density distribution.
------------------------------------------------------------------------------
Little more detail gets you little more help.
It doesn't appear that you're willing enough to put in enough time to
clearly state what you want, so I doubt anyone will put in more time
than you have in solving your problem for you.
By the way, what was wrong with using the hist function to inspect
your distribution?
From: mat001 on
ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message <53802f60-2250-42e9-80f7-5a27fdd8e0ea(a)r28g2000vbi.googlegroups.com>...
> On Apr 20, 6:23 am, "mat001 " <dre...(a)lycos.com> wrote:
> > okey I make little more detail
> >
> > I have density calculation. so here density is a 2d matrix.
> > now i have to do Gaussian density distribution.
> ------------------------------------------------------------------------------
> Little more detail gets you little more help.
> It doesn't appear that you're willing enough to put in enough time to
> clearly state what you want, so I doubt anyone will put in more time
> than you have in solving your problem for you.
> By the way, what was wrong with using the hist function to inspect
> your distribution?


Actually I have to vary sigma which appear in Gaussian.
so i can use hist or histc.

density distribution which should be Gaussian. and I check density is a 2d matrix. can you please explain me if its enough information.
From: Steven Lord on

"mat001 " <dres01(a)lycos.com> wrote in message
news:hqk184$l4e$1(a)fred.mathworks.com...
> ImageAnalyst <imageanalyst(a)mailinator.com> wrote in message
> <53802f60-2250-42e9-80f7-5a27fdd8e0ea(a)r28g2000vbi.googlegroups.com>...
>> On Apr 20, 6:23 am, "mat001 " <dre...(a)lycos.com> wrote:
>> > okey I make little more detail
>> >
>> > I have density calculation. so here density is a 2d matrix.
>> > now i have to do Gaussian density distribution.
>> ------------------------------------------------------------------------------
>> Little more detail gets you little more help.
>> It doesn't appear that you're willing enough to put in enough time to
>> clearly state what you want, so I doubt anyone will put in more time
>> than you have in solving your problem for you.
>> By the way, what was wrong with using the hist function to inspect
>> your distribution?
>
>
> Actually I have to vary sigma which appear in Gaussian.
> so i can use hist or histc.
>
> density distribution which should be Gaussian. and I check density is a
> 2d matrix. can you please explain me if its enough information.

Not really.

Take a deep breath, let it out, and start explaining from the beginning.
Assume that you're explaining the problem to someone who has absolutely no
idea about the nature of the problem you're trying to solve (which is
actually a pretty valid assumption in this case.) Don't worry too much
about writing too much unless your message starts looking like a scholarly
paper you could submit to a journal. If you have a small (emphasis on
SMALL) example that demonstrates what you're trying to do, that would be
good to include as well.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ


From: ImageAnalyst on
Not really, not for me. So all I can suggest is that you look at the
randn() and hist() functions.