필터 지우기
필터 지우기

From a matrix with different pairwise distances, how can I obtain a submatrix with a specific minimum distance.

조회 수: 1 (최근 30일)
Hello,
From a permutation matrix with different pairwise distances, how can I obtain a submatrix with a specific minimum distance.
For example; For permutation interger M = 3 with matrix A = [1 2 3; 1 3 2; 2 1 3; 2 3 1; 3 1 2; 3 2 1], I would like to extract a submatrix, B, with minimum distance 3. Such that B = [1 2 3; 2 3 1 ;3 1 2]. I would like to do this for bigger values of M, like 5,7 etc and I want to extract a submatrix with minimum distance 3 or 4.
Thank you.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by