Linear Array Expansion

Version 1.0.0.0 (627 Bytes) by ss32
Function to expand an array, linearly interpolating between entries
31 Downloads
Updated 30 Jul 2017

View License

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 (2024). Linear Array Expansion (https://www.mathworks.com/matlabcentral/fileexchange/63914-linear-array-expansion), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Ladder Diagram Integration in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0