findmat

Find a matrix in a larger matrix
1.4K Downloads
Updated 17 Aug 2006

No License

Find a pattern matrix within a larger matrix. Supports anything that can be converted to a double using double().

Example:
a = [1 2 3;4 2 6;4 3 9];
b = [2 3];
findmat(a,b)
findmat(a,b')

Cite As

Justin Griffiths (2026). findmat (https://uk.mathworks.com/matlabcentral/fileexchange/11990-findmat), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP3
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Dates and Time in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0