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 (2024). findmat (https://www.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

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