cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

spline erros and problems

jcastanheira
3-Newcomer

spline erros and problems

Dear all,

I have been trying to do a cubic spline for on a mechanical spectral response. Unfortunately the spline does not work, can anyone explain to me why is this happening?

I have used it in the past many times, without any problems(different data).

Is there a easy solution for this ?

Cheers to all!

João

ACCEPTED SOLUTION

Accepted Solutions

Here is a quick solution.

A routine which sorts and removes lines in a matrix when the elements in the first column are duplicates.

Only the first line will survive. A more sophisticated approach maybe would average the values in the other columns rather than throwing away all but the first.

View solution in original post

4 REPLIES 4

The problem is, that you have a lot of duplicate values in your abscissa vector XE1 and thats what Mathcad's spline interpolation chokes at.

More accuracy is needed in the source data?

Here is a quick solution.

A routine which sorts and removes lines in a matrix when the elements in the first column are duplicates.

Only the first line will survive. A more sophisticated approach maybe would average the values in the other columns rather than throwing away all but the first.

Thank you all!

Werner! Thats amazing. Thanks!

Announcements

Top Tags