cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
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