The use of Interp1

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

 Réponse acceptée

the cyclist
the cyclist le 20 Avr 2013
Modifié(e) : the cyclist le 20 Avr 2013

0 votes

If method is input as empty, then it is set to linear inside interp1().
It is straightforward to see this if you
>> edit interp1

Plus de réponses (0)

Catégories

En savoir plus sur Interpolation dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by