Is there a way to multiply a formatted dlarray with a matrix?

조회 수: 12 (최근 30일)
Chonghao WANG
Chonghao WANG 2020년 11월 16일
댓글: Reed Freer 2023년 12월 23일
Given a formatted dlarray named y and a matrix named X consists of formatted dlarrays (e.g. each row of the matrix is a dlarray), is there a way to do matrix multiplication between X and y?

답변 (1개)

Hrishikesh Borate
Hrishikesh Borate 2020년 11월 18일
Hi,
I understand that you want to multiply a formatted dlarray y, and a matrix X, rows of which are constructed using formatted dlarrays.
Currently, the matrix multiplication (mtimes, *) is only supported when one input is a formatted dlarray and other input is an unformatted scalar.
Element wise multiplication is supported when both the inputs are formatted dlarrays.
For more information, refer to dlarrays.
  댓글 수: 1
Reed Freer
Reed Freer 2023년 12월 23일
Can you multiply a formatted dlarray and a regular matrix? I am attempting to use pagemtimes to multiply the matrix together and I recieve an error.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Image Data Workflows에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by