MATLAB: How to generate a complex matrix of different rows and column wireless communication A = rand(M) * 5;B = rand(k) * -8;z = complex(A,B); Best Answer One approach:a=5*rand(15,1);b=-8*rand(15,1);%creationComp=repmat(complex(a,b),1,3);%%shuffleComp(:,2)=Comp(randperm(size(Comp,1)),2)Comp(:,3)=Comp(randperm(size(Comp,1)),3) Related SolutionsMATLAB: How to generates random numbers Like this. MATLAB: How to equalize column A = [ 1 2 3 4 5]B = [ 0 0 3]C=[A;B zeros(1,numel(A)-numel(B))] Related QuestionHow to interpolate columnHow i do loop over column
Best Answer