Matrix Multiplication in Simulink

33 visualizaciones (últimos 30 días)
pravin behera
pravin behera el 19 de Mzo. de 2015
Comentada: linda el 23 de Mzo. de 2024
I want to multiply a simple 3x3 matrix and 1x3 matrix using simulink model, how do i do that ?

Respuestas (3)

Eric L
Eric L el 13 de Feb. de 2020
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 comentarios
Pedro Pérez Sánchez
Pedro Pérez Sánchez el 19 de Jun. de 2022
Thank you I was going crazy
linda
linda el 23 de Mzo. de 2024
Thank you!!

Iniciar sesión para comentar.


Chien-Ping Wu
Chien-Ping Wu el 9 de Mayo de 2017

Shritesh Jibhkate
Shritesh Jibhkate el 25 de Abr. de 2018
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.

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by