フィルターのクリア

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 Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by