Function JOINMAT 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 dataset-array version JOINDST.
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 (2024). Merge matrices (https://www.mathworks.com/matlabcentral/fileexchange/21229-merge-matrices), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers
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 | BSD
|