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
Zitieren als
Anmol Pardeshi (2024). mergeBlocks (https://www.mathworks.com/matlabcentral/fileexchange/80074-mergeblocks), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |