Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

The use of Interp1

Asked by Louis on 20 Apr 2013

Wondering what method is used if the interp1 routine is defined as:

interp1(x,y,z,[],'extrap')

Which interpolation/extrapolation methods are implied in this command?

Thanks,

Louis

0 Comments

Louis

Products

No products are associated with this question.

1 Answer

Answer by the cyclist on 20 Apr 2013
Edited by the cyclist on 20 Apr 2013
Accepted answer

If method is input as empty, then it is set to linear inside interp1().

It is straightforward to see this if you

>> edit interp1

1 Comment

Louis on 21 Apr 2013

Thanks

the cyclist

Contact us