row circular shift in matrix
Mostrar comentarios más antiguos
How can I shift all the elements of a particular row in matrix in left circular shift or right circular shift.
Respuesta aceptada
Más respuestas (1)
Stephen23
el 23 de Abr. de 2020
M(row,:) = circshift(M(row,:),k,2)
1 comentario
Abhishek Bakhla
el 24 de Abr. de 2020
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!