The use of Interp1
4 views (last 30 days)
Show older comments
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
Accepted Answer
the cyclist
on 20 Apr 2013
Edited: the cyclist
on 20 Apr 2013
If method is input as empty, then it is set to linear inside interp1().
It is straightforward to see this if you
>> edit interp1
More Answers (0)
See Also
Categories
Find more on Interpolation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!