matrix multiplication with different sizes
조회 수: 1 (최근 30일)
이전 댓글 표시
i have two arrays of sizes n and n*k i want to multiply the the first element of first matrix with first k elements and so on.
댓글 수: 2
Dyuman Joshi
2022년 7월 11일
편집: Dyuman Joshi
2022년 7월 11일
"so on"
How exactly do you want to proceed? Multipy with the next k elements or the second element from first matrix? Give us an example with the following (n=4, k=5) -
y=spiral(4) %4*4 matrix
z=reshape(1:4*5,4,5) %4*5 matrix
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!