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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com