mergeBlocks

版本 1.0.0 (1.2 KB) 作者: Anmol Pardeshi
merge 2 non consistent blocks
1.0 次下载
更新时间 2020/9/11

查看许可证

Have you ever run into a problem where you would want to merge 2 blocks/variables that are inequal in size? I have encountered this many times. For example: one variable has only one row containing patient details but other variable has 2 rows containing parameters for 2 eyes or 2 knees. How do you read this as a single patient? Well, this function will help you!

input ->
1. variable/block 1
2. variable/block 2
output ->
single block with rows equal to block which has greater length in 1st dimension. Cols will be equal to addition of the two blocks' columns

引用格式

Anmol Pardeshi (2024). mergeBlocks (https://www.mathworks.com/matlabcentral/fileexchange/80074-mergeblocks), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2017a
兼容任何版本
平台兼容性
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