Thread Subject: problem regarding gaussian plot

Subject: problem regarding gaussian plot

From: Tanusree

Date: 28 Oct, 2009 16:07:03

Message: 1 of 2

Hi all,

I have a question....that is...after drawing a Gaussian plot from a data set....we have to find the maximum and minimum values of the 'X' intersect...how to obtain the point where the curve attains the maximum value...

How can I do that..

thanks in advance....

tanusree

Subject: problem regarding gaussian plot

From: ade77

Date: 3 Nov, 2009 23:56:01

Message: 2 of 2

If you plot the Gaussion in MATLAB window, you can use the data cursor on the figure toolbar, and place it where the maximum or minimum of the plot occur, this will give you the values of x,and y.
However, if you are just interested in the maximum and minimum value of your plot based on the data you have, you do not need to obtain the min or max from the plot, the data can provide that for you.
[a b] = max(y);
x_intersect = x(b);

if your data set is a (n by 2 )array, then,
[a b] = max(data(:,1));
x_intersect = data(b,2);

"Tanusree " <tanusree_bhattacharjee85@yahoo.co.in> wrote in message <hc9q76$k1m$1@fred.mathworks.com>...
> Hi all,
>
> I have a question....that is...after drawing a Gaussian plot from a data set....we have to find the maximum and minimum values of the 'X' intersect...how to obtain the point where the curve attains the maximum value...
>
> How can I do that..
>
> thanks in advance....
>
> tanusree

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com