Skip to main content
16-Pearl
March 17, 2024
Solved

Trouble with linterp in Mathcad 15

  • March 17, 2024
  • 1 reply
  • 2221 views

Does anyone know what the problem is in this Mathcad 15 sheet using the linterp function.  I have successfully used it exactly this way before.  All I did was change the input data.

Attached is the xmcd file: IEC HEMP E3 STANDARD INTERPOLATION.xmcd.

This sheet calls another xmcd as a reference: POINTS PER DECADE FUNCTION.xmcd

I have attached both files along with the data file.

 

The error claims that the vector Time is not in ascending order.  You can see from the data and the plot of Time vs Time that is not correct.  You can also see that the more dense t vector is ascending and on top of the Time vector.

 

Thanks for any help provided.

Best answer by terryhendicott

Hi,

Line 17 and Line 18 are the same values in the dataset spreadsheet.  This is the source of the ascending order problem.

Remove one set of the duplicate values and all is well.

 

1 reply

21-Topaz II
March 17, 2024

Hi,

Line 17 and Line 18 are the same values in the dataset spreadsheet.  This is the source of the ascending order problem.

Remove one set of the duplicate values and all is well.

 

regcurry16-PearlAuthor
16-Pearl
March 17, 2024

Thanks much.  I can no longer seem to proof my own work. 🙄