Swap the First and Last Column (CODY)
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
function B = swap_ends(A)
X = A(:,end);
C = A(:,1);
A(:,1) = X;
A(:,end) = C;
B = A;
end
How do I reduce it into a length of 7? (Top length is 7).
0 Commenti
Risposte (1)
Vedere anche
Categorie
Scopri di più su Dynamic System Models 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!