필터 지우기
필터 지우기

How can I multiply two horizontal and vertical vectors in simulink?

조회 수: 21 (최근 30일)
saeid k
saeid k 2017년 8월 9일
답변: Masoud Aminzadeh 2019년 4월 24일
Hi everybody, I want to multiply two vectors in simulink, one of which is horizontal (the first one) and the other one is vertical. can anybody help me? thanks.

답변 (2개)

KL
KL 2017년 8월 9일
Use the product block. If you double click on the block you could choose between element-wise or matrix multiplication but in both cases, your vector/matrix dimensions should agree!

Masoud Aminzadeh
Masoud Aminzadeh 2019년 4월 24일
If you have created a constant block, disable 1D in it, then use product block and set this one for matrix multiplier. Do not forget to check for matching col's and row's in order to do matrix multiplication.

카테고리

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

태그

Community Treasure Hunt

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

Start Hunting!

Translated by