Two Matrices and Tensor Product
    조회 수: 9 (최근 30일)
  
       이전 댓글 표시
    
    Amit Chakraborty
 2021년 10월 7일
  
    
    
    
    
    편집: Shravan Kumar Vankaramoni
    
 2021년 10월 12일
            I have a Matrix. Lets say it is A . Size of A is : 1116* 16;
and another Matrix B: Size is :::  31*16;
My matrix multiplication is such that where:  Each row of Matrix B (with all columns) will be multipled with the whole Matrix A . and this multiplication will through 31 times. And the Resultant matrix size should be equal to size of  Matrix A 
But the Kronecker Product is not giving me the correct dimesions. 
A bit confused in this point. 
댓글 수: 0
채택된 답변
  Shravan Kumar Vankaramoni
    
 2021년 10월 12일
        
      편집: Shravan Kumar Vankaramoni
    
 2021년 10월 12일
  
      Hi,
The size of each row in 31*16 matrix would be 1*16, which is a row vector. But to multiply with 1116*16 matrix, the compatible size should 16*1 (column vector). As 1*16 can't be multiplied with 1116*16, it is transposing to column vector and the output will be of size 1116*1. 
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

