MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > Find Y values from a given X values 

Subject: Find Y values from a given X values From: josevm Date: 3 Dec, 2012 10:28:07 Message: 1 of 5 
I've a set of experimental data which has a like Gaussian profile. I want to find the values of X or (index) for Y0 (Y maximum), Y0/10, Y0/20... Y)/90 like that from the raw data. Y0 and its index can be found from the 'max' function, but corresponding to Y0/10, Y0/20 and all there are no discrete X values. The X values have to come from interpolated data. The "interp1" option doesn't work since it gives Y for a given x. I need the reverse. Thanks in advance 
Subject: Find Y values from a given X values From: Torsten Date: 3 Dec, 2012 11:44:08 Message: 2 of 5 
"josevm" wrote in message <k9hurn$iki$1@newscl01ah.mathworks.com>... 
Subject: Find Y values from a given X values From: josevm Date: 3 Dec, 2012 12:31:09 Message: 3 of 5 
"Torsten" wrote in message <k9i3a8$2nv$1@newscl01ah.mathworks.com>... 
On 12/3/2012 6:31 AM, josevm wrote: 
Subject: Find Y values from a given X values From: josevm Date: 3 Dec, 2012 18:07:14 Message: 5 of 5 
dpb <none@non.net> wrote in message <k9i7jl$si2$1@speranza.aioe.org>... 
No tags are associated with this thread.
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.