row circular shift in matrix
Ältere Kommentare anzeigen
How can I shift all the elements of a particular row in matrix in left circular shift or right circular shift.
Akzeptierte Antwort
Weitere Antworten (1)
Stephen23
am 23 Apr. 2020
M(row,:) = circshift(M(row,:),k,2)
1 Kommentar
Abhishek Bakhla
am 24 Apr. 2020
Kategorien
Mehr zu Creating and Concatenating Matrices finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!