comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » poly_fit - yband
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: poly_fit - yband [message #87982 is a reply to message #87976] Mon, 10 March 2014 06:15 Go to previous messageGo to previous message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
What do you mean 'error values'?

If you mean the departure of the 'y' variable from the value predicted from the polynomial line, if you only have 80 'real' values of y, you can't interpolate these in x to get 238 values, because that would be inventing data.

Andrew

On Saturday, March 8, 2014 7:43:00 AM UTC-5, sid wrote:
> Hello everyone,
>
> I have x 80 integer values and y 80 values.
>
> I did,
>
> p=poly_fit(x,y,7,yband=e,yfit=y1)
>
>
>
> now I need y values at every 0.33 intervals so, now I have x with 238 values with 0.33 resolution earlier case the resolution was 1.
>
> Now for this 238 x values I have found 238 y values using the polynomial coefficients.
>
> But now the problem is how to find the error values, since I have yband = e (80 values). But I need to find the error values for all the 238 values.
>
>
>
> Is there a way to do this.
>
> Please do help me out in this regard.
>
>
>
> thanking you in advance
>
> sid
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: cubic B-splines
Next Topic: Select Images based on vector/shapefile/ROI

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 11:08:43 PDT 2025

Total time taken to generate the page: 1.99783 seconds