0
Matlab에서 희소 행렬의 열만을 바꾸고 싶습니다.Matlab : 희소 행렬의 열만 바꾸기
나는 다음과 같은 명령을 통해 행 및 열 치환을 모두 수행 할 수:
permutedSparseMatrix=sparseMatrix(rowPermutation, columnPermutation);
Matlab에서 희소 행렬의 열만을 바꾸고 싶습니다.Matlab : 희소 행렬의 열만 바꾸기
나는 다음과 같은 명령을 통해 행 및 열 치환을 모두 수행 할 수:
permutedSparseMatrix=sparseMatrix(rowPermutation, columnPermutation);
permutedSparseMatrix = sparseMatrix(:,columnPremutation)
방금 ['원래의 인덱스와'1,2 rowPermutation'을 대체 할 수 ...'(또는 더 일반적으로'1 : size (sparseMatrix, 1)') 행 순서가 변경되지 않았습니까? – RTL
또는 그 이상 간단하게 rowPermutation을 콜론':' – RTL