how to generate complex random matrix without repetation in matlab?
40 ビュー (過去 30 日間)
古いコメントを表示
complex matrix should not repeat .
3 件のコメント
Walter Roberson
2020 年 10 月 7 日
N = 5;
cMatrix = complex(rand(N, N), rand(N,N));
idx = randperm(N,3);
cMatrix(idx(1),:) = cMatrix(idx(2),:) + rand * cMatrix(idx(3),:);
rank(cMatrix)
disp(cMatrix)
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Creating and Concatenating Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!