Merge matrices

(in a SQL equijoin)
2.8K Downloads
Updated 4 Apr 2016

View License

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 Linux
Categories
Find more on Creating and Concatenating Matrices in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

BSD
link to JOINDST