MATLAB: Sbit stream bit-stream w= 1 0 1 w= 0 1 1 w= 0 1 0 how came this can be written in straight line w= 1 0 1 0 1 1 0 1 0 Best Answer You might find this easier to understand:w = []; for i = 1:30 w = [w, A(i), B(i), C(i)]; end Related SolutionsMATLAB: Si=2*(round(rand(1,sbit))-1/2); a=rand% b=rand(a) % the result is 0 or 1%If b=12*(1-1/2)=1%If b=02*(0-1/2)=-1 MATLAB: How to divide elements of matrix in every dimension c=bsxfun(@rdivide,dd,w) Related QuestionFast way to replicate array
Best Answer