Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
anyone
Posts:
15
Registered:
6/18/12
|
|
Re: Half width
Posted:
Feb 5, 2013 6:46 PM
|
|
On Tue, 05 Feb 2013 22:19:16 +0000, Ella wrote:
> Hi > > I'm trying to find the width at which a f(x,y) decays to half the > amount, but I only have the falling edge of the peak so the fwhm > technique has not worked. > > This is the data I have: > > x=0,5,10,15,20,25 > > y=0.0444512401742601,0.0480445047384081,0.0453828898867642,0.0151597496747229,0.0140085866219010,-0.00920381996325553 > > The error I got when using > > a=fwhm(x,y) > > was : > Pulse Polarity = Positive > Attempted to access y(29); index out of bounds because numel(y)=28. > > Error in fwhm (line 32) > while ((sign(y(i)-lev50) == > sign(y(i-1)-lev50)) & (i <= N-1)) > > Error in data (line 114) > xhalf=fwhm(RefDist1,Anom1)
If you got that function through the File Exchange you should contact the author. > ... sorry if this is a bit vague.
Try to be a bit clear.
|
|
|
|