row circular shift in matrix
Mostra commenti meno recenti
How can I shift all the elements of a particular row in matrix in left circular shift or right circular shift.
Risposta accettata
Più risposte (1)
Stephen23
il 23 Apr 2020
M(row,:) = circshift(M(row,:),k,2)
1 Commento
Abhishek Bakhla
il 24 Apr 2020
Categorie
Scopri di più su Creating and Concatenating Matrices in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!