This function expands an array by linearly interpolating between each entry, filling in with a given number of steps defined by the user.
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
ss32 (2021). Linear Array Expansion (https://www.mathworks.com/matlabcentral/fileexchange/63914-linear-array-expansion), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!