Path: news.mathworks.com!not-for-mail
From: "Nima Azar" <nimakev@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Help needed with Non-Linear Least Square Fitting
Date: Thu, 15 May 2008 20:15:08 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 39
Message-ID: <g0i5kc$pjn$1@fred.mathworks.com>
References: <g0i43e$n5i$1@fred.mathworks.com> <g0i4o4$2lt$1@fred.mathworks.com>
Reply-To: "Nima Azar" <nimakev@yahoo.com>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1210882508 26231 172.30.248.38 (15 May 2008 20:15:08 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 15 May 2008 20:15:08 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1387671
Xref: news.mathworks.com comp.soft-sys.matlab:468696


"Roger Stafford" 
<ellieandrogerxyzzy@mindspring.com.invalid> wrote in 
message <g0i4o4$2lt$1@fred.mathworks.com>...
> "Nima Azar" <nimakev@yahoo.com> wrote in message 
<g0i43e$n5i
> $1@fred.mathworks.com>...
> > Hi Guys,
> > So I'm measuring Reflectance(v2) vs. Wavelength(v1) and 
> > need to find the thickness of my sample, for that I'm 
> > trying to use fitting to a function using the nonlinear 
> > square method to find couple of unknowns.
> > If anyone can help please email me at nimakev@yahoo.com 
so 
> > I'll send you more information,
> > any help is greatly appericiated.
> >  
> > thank you.
> -------------
>   I'm afraid my physics is a little rusty at this point.  
You need to tell in what way 
> sample thickness is to depend on reflectance and 
wavelength in your fitting 
> model.
> 
> Roger Stafford
> 

Thanks Roger for your reply:

Here's the Function:
v2 = -a &#8211; b*v1 &#8211; c*(v1)^2 + d[1+(e/2d)cos((16.745*g/v1) + 
h)] Exp(-j/(v1)^2)

so basically g and h are to be found through fitting...and 
I can get V1, V2 through measurments...

thanks for help.