repeat last column and last row of a matrix
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
i have a matrix of 63*64.i want to repeat the last colum and get a matrix of 63*65? my next matrix is 62*65. I want to repeat the last row and get the matrix of 63*65?
0 Commenti
Risposta accettata
Azzi Abdelmalek
il 13 Set 2013
Modificato: Azzi Abdelmalek
il 13 Set 2013
A(:,end+1)=A(:,end)
For the second matrix
A(end+1,:)=A(end,:)
3 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Data Import and Analysis 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!