Recent content by buchasia

  1. B

    MATLAB Learn How to Perfectly Shuffle Vectors in Matlab with Simple Pseudo-code"

    Hi, your problem can be solved by this way %let c be the vector which has to be rearranged % assuming size of c to be even c=1:10; % d is the vector where we store the rearranged vector d = zeros(size(c)); d(1:2:end) = c(1:end/2); d(2:2:end) = c(end/2+1,end); %thats all you...