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
引用格式
ss32 (2024). Linear Array Expansion (https://www.mathworks.com/matlabcentral/fileexchange/63914-linear-array-expansion), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2016b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Ladder Diagram Integration 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |