Function JOINDST implements SQL 'join' operation with a single equality condition.
http://en.wikipedia.org/wiki/Join_(SQL)
It has been tested with numeric keys only, and not optimized; improvements are enthusiastically welcomed.
See also the matrix version JOINMAT.
PS. Note that output rows are sorted, and Inf values are treated in the same way as (but are distinguished from) NaN values.
Cite As
Dimitri Shvorob (2025). Merge dataset arrays (https://www.mathworks.com/matlabcentral/fileexchange/21230-merge-dataset-arrays), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Matrices and Arrays >
- MATLAB > Language Fundamentals > Data Types > Structures >
- MATLAB > Language Fundamentals > Data Types > Cell Arrays >
- Reporting and Database Access > Database Toolbox >
- Computational Finance > Database Toolbox >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | link to JOINMAT
|