cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Sign-in to the JMP Community will be unavailable intermittently Dec. 6-7 due to a system update. Thank you for your understanding!
  • We’re retiring the File Exchange at the end of this year. The JMP Marketplace is now your destination for add-ins and extensions.
  • JMP 19 is here! Learn more about the new features.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
SymS
Level III

How to interpolate curves

How to interpolate curve 1 (with sparse points) to match the number of points in curve 2 in order to do further calculations. 

2 REPLIES 2
Georg
Level VII

Re: How to interpolate curves

You can use function interpolate(), see formula.

Before applying formula, I splitted data of current into two columns, see table attached.

Interpolate (jmp.com)

 

Interpolate(
	:"Voltage(V)"n,
	:"Voltage(V)"n[Loc Nonmissing( :"Current(A)_1"n << get values )],
	:"Current(A)_1"n[Loc Nonmissing( :"Current(A)_1"n << get values )]
)
Georg
jthi
Super User

Re: How to interpolate curves

Other option could be using graph builder and getting formula from smoother:

1. Change Curve modeling type to nominal

2. Create smoother graph with Curve as overlay and change settings to fit the lines

jthi_1-1647154737145.png

3. Click on the red triangle on Smoother and select Save Formula

4. Now  you should have a formula in your data table

jthi_0-1647168242416.png

5. With the formula you could then add "missing" voltage values for Curve 1 (add new rows to data) and then create final Current column which would have your original values from Current(A) and then missing values replaced with the Smoother columns values

 

Edit:

I would also suggest out checking out Fit Y by X platform

-Jarmo

Recommended Articles