Al momento, stai seguendo questo contributo
- Vedrai gli aggiornamenti nel tuo feed del contenuto seguito
- Potresti ricevere delle email a seconda delle tue preferenze per le comunicazioni
FINDSUBMAT find one matrix (a sub-matrix) inside another.
IDX = FINDSUBMAT(A,B) looks for and returns the linear index of the
location of matrix B within matrix A. The index IDX corresponds to the location of the first element of matrix B within matrix A. Only works for 2-d matrices or vectors, both of which may contain NaNs or Infs.
[R,C] = FINDSUBMAT(A,B) returns the row and column instead.
I would like to extend to N-D but don't have the time right now. This may be a future enhancement, but I believe the file stands on it's own just fine too.
Email me if bugs are found, thanks.
Cita come
Matt Fig (2026). findsubmat (https://it.mathworks.com/matlabcentral/fileexchange/23998-findsubmat), MATLAB Central File Exchange. Recuperato .
Informazioni generali
- Versione 1.2.0.0 (3,73 KB)
Compatibilità della release di MATLAB
- Compatibile con qualsiasi release
Compatibilità della piattaforma
- Windows
- macOS
- Linux
