ARVIND KUMAR SINGH
Followers: 0 Following: 0
Feeds
已回答
Swap the first and last columns
function B = swap_ends(A) [~,col] = size(A); if col<2 B = A; else a = A(:,1); b = A(:,col); c = A(:,2:col-1); B =[b ...
Swap the first and last columns
function B = swap_ends(A) [~,col] = size(A); if col<2 B = A; else a = A(:,1); b = A(:,col); c = A(:,2:col-1); B =[b ...
4 years 前 | 0