Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

fitting curve doed not work

Status
Not open for further replies.

skjoex

Structural
Jul 17, 2007
82
Hi,

I have a set of data in tabular form. I would like to fit a function over this set and then derive this function.

I have checked a manual and found I think appropriate commands - bspline and interp, but when plotted in one graph I can see it is not correct...

I usually use 1 as array origin, and knots of the spline are not equally spaced - do not even know if it is important for this case...

Right now I am not able to find an error. Please help !

 
Replies continue below

Recommended for you

You don't define "t", so when you use it in the graph mathcad uses a default which is partially outside the range of your function. Try adding this line above the graph:

t:=0;42

which will define t as a range variable from 0 to 42 with step size of one.

Peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor