CreateBorder

版本 1.0.0.0 (980 字节) 作者: AA
To create a custom border around input data. (Useful for image/data padding)
30.0 次下载
更新时间 2016/10/1

查看许可证

To create a custom border around input data.
... Function - CreateBorder(data_in, H_border, W_border, border_val)
... Creates a border defined by border size around data_in of value = border_val
... For eg -
... >> a = magic(4);
... >> % To create a [2x4] border of 0s around 'a'
... >> a = CreateBorder(a, 2, 4, 0);

引用格式

AA (2024). CreateBorder (https://www.mathworks.com/matlabcentral/fileexchange/59371-createborder), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

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

.