Linterp memory allocation

Speed up Linterp by preallocating output vector

You are now following this Submission

Edited Matlab LINTERP function to pre-allocate the storage for the output vector. Functionally equivalent, but MUCH faster!

Cite As

Kirk (2026). Linterp memory allocation (https://se.mathworks.com/matlabcentral/fileexchange/45068-linterp-memory-allocation), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Interpolation in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0