필터 지우기
필터 지우기

Matrix Multiplication in Simulink

조회 수: 63 (최근 30일)
pravin behera
pravin behera 2015년 3월 19일
댓글: linda 2024년 3월 23일
I want to multiply a simple 3x3 matrix and 1x3 matrix using simulink model, how do i do that ?

답변 (3개)

Eric L
Eric L 2020년 2월 13일
In case anyone else has the same problem, make sure "Interpret vector parameters as 1-D" is unchecked in the constant block if you want to do matrix multiplication.
In pravin's model, Simulink is probably reading Constant2 as size [3] instead of [1x3].
  댓글 수: 3
Pedro Pérez Sánchez
Pedro Pérez Sánchez 2022년 6월 19일
Thank you I was going crazy
linda
linda 2024년 3월 23일
Thank you!!

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


Chien-Ping Wu
Chien-Ping Wu 2017년 5월 9일

Shritesh Jibhkate
Shritesh Jibhkate 2018년 4월 25일
Interchange those two constant blocks. The error is occurring due to mismatch in dimension. Here you are trying to multiply matrix of size 3*3 by 1*3. But, correct multiplication will be 1*3 by 3*3.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by