row circular shift in matrix
Afficher commentaires plus anciens
How can I shift all the elements of a particular row in matrix in left circular shift or right circular shift.
Réponse acceptée
Plus de réponses (1)
Stephen23
le 23 Avr 2020
M(row,:) = circshift(M(row,:),k,2)
1 commentaire
Abhishek Bakhla
le 24 Avr 2020
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!