how to generate complex random matrix without repetation in matlab?
Mostrar comentarios más antiguos
complex matrix should not repeat .
3 comentarios
Akira Agata
el 31 de En. de 2018
Could you tell us more details? What do you mean by 'not repeat' ?
The following code can generate 2-by-4 complex random matrix. Is this what you want to do?
cMatrix = rand(2,4) + i*rand(2,4);
Tran Hoang Nam
el 7 de Oct. de 2020
And how to generate complex random matrix with rank-deficient?
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)
Respuestas (0)
Categorías
Más información sobre Creating and Concatenating Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!