I have make a code for block Kronecker product when both A and B have even dimension now myquestion (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)
    2 views (last 30 days)
  
       Show older comments
    
    Farooq Aamir
 on 10 Feb 2018
  
    
    
    
    
    Answered: Christine Tobler
    
 on 12 Feb 2018
            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))] ;
0 Comments
Accepted Answer
  Christine Tobler
    
 on 12 Feb 2018
        I'm not sure how to do this, but take a look at the implementation of kron in MATLAB:
 edit kron.m
You'll see that it uses reshape and multiplication with implicit expansion to compute kron. Possibly, you can also get the block Kronecker product if you reshape the matrices in a different way?
0 Comments
More Answers (0)
See Also
Categories
				Find more on Linear Algebra in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
