Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Function that places a 2D matrix B into a larger 2D matrix A. The upper-left corner of B is placed at coordinates (r,c) in A. If (r,c) are not given, then B is put in the upper-left corner of A, a default of (1,1). Some error checking is done first to make sure that A and B are 2D matrices, A is big enough to contain B, and the given (r,c) will not spill B outside of A.
The screenshot results from calling:
putBinA(magic(8),zeros(3),2,4);
Citation pour cette source
Rob Slazas (2026). Place one 2D matrix inside another (https://fr.mathworks.com/matlabcentral/fileexchange/19989-place-one-2d-matrix-inside-another), MATLAB Central File Exchange. Extrait(e) le .
Remerciements
Inspiré par : insertrows
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Help Center et MATLAB Answers
Informations générales
- Version 1.0.0.0 (654 octets)
-
Aucune licence
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
