Linear Array Expansion

Function to expand an array, linearly interpolating between entries

You are now following this Submission

This function expands an array by linearly interpolating between each entry, filling in with a given number of steps defined by the user.
Example:

You have an array A=[1,5,2] and want to expand it with 3 data points between each original entry.
expandArray(A,3) = 1.0000 2.0000 3.0000 4.0000 5.0000 4.2500 3.5000 2.7500 2.0000

Cite As

ss32 (2026). Linear Array Expansion (https://www.mathworks.com/matlabcentral/fileexchange/63914-linear-array-expansion), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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