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
Cita come
Anmol Pardeshi (2024). mergeBlocks (https://www.mathworks.com/matlabcentral/fileexchange/80074-mergeblocks), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |