Growing eye matrix as per the size of eye
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have an eye matrix of size eye(3). I need to increase the size of matrix as below so that eye matrix has to repeat 2 times then 3 times. Can anyone help
0 Commenti
Risposta accettata
Più risposte (3)
DGM
il 2 Giu 2022
There are a number of ways, but this is what I'd do:
A = toeplitz([1 0 0 1 0 0 1 0 0],[1 0 0 0 0 0 0 0 0])
Vedere anche
Categorie
Scopri di più su Matrices and Arrays in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!