padadd

版本 1.0.0.0 (1.1 KB) 作者: Dave Johnson
This is a function that concatenates data column arrays of possibly dissimilar sizes.
4.7K 次下载
更新时间 2000/2/8

无许可证

This is a function that concatenates data column arrays of possibly dissimilar sizes. The undefined portions are padded with NaNs to make a viable rectangular matrix array. The main
idea is that data in 'x' is added to the data in 'A'

A third argument can be included to specify a column index in 'A' designating where to begin overwriting 'A' with 'x' and/or the appending of 'x' to 'A'.

One possible use is to plot the output vectors of many simulation runs which have varying lengths with one simple plot statement. This is usually better for managing large sets of related raw data.

引用格式

Dave Johnson (2024). padadd (https://www.mathworks.com/matlabcentral/fileexchange/209-padadd), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R11
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Cell Arrays 的更多信息
标签 添加标签
致谢

启发作品: PADCAT

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0