function y=Kronb4(A,B) %n is the order of the matrix R y=[kron(A,B(1:2,1:2)) kron(A,B(1:2,3:4)) ; kron(A,B(3:4,1:2)) kron(A,B(3:4,3:4))] ;
MATLAB: I have make a code for block Kronecker product when both A and B have even dimension now thequestion (I want to make a code when A and B have are not even and also A is square and B is rectangular and vice versa)
block kronecker product
Best Answer