Hello,
I have a value for A(:,:,3,1) and another value for A(:,:,3,2). Similarly, I have different values for A(:,:,4,1) and A(:,:,4,2) But in this for loop I cant give values to elements.
How can I do that?
for i=3:basis_number for k =1:2 A(:,:,i,k) = repmat(blkdiag(temp,temp2),d/4,d/4); A(:,:,i,k) = repmat(blkdiag(temp2,temp),d/4,d/4); A(:,:,i,k) = repmat(blkdiag(temp3,temp4),d/4,d/4); A(:,:,i,k) = repmat(blkdiag(temp4,temp3),d/4,d/4); endend
Best Answer