my_permute - for c=1:nc newMatrix(i,c) = matrix(j,c);...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function newMatrix = my_permute(matrix, i, j) nc = size(matrix,2); newMatrix=matrix;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: for c=1:nc newMatrix(i,c) = matrix(j,c); newMatrix(j,c) = matrix(i,c); end...
View Full Document

This note was uploaded on 03/15/2011 for the course COM S 100 at Cornell.

Ask a homework question - tutors are online