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
Citar como
Anmol Pardeshi (2024). mergeBlocks (https://www.mathworks.com/matlabcentral/fileexchange/80074-mergeblocks), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |