how to generate complex random matrix without repetation in matlab?
26 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
complex matrix should not repeat .
3 Commenti
Walter Roberson
il 7 Ott 2020
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)
Risposte (0)
Vedere anche
Categorie
Scopri di più su Creating and Concatenating Matrices in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!