How can I multiply two horizontal and vertical vectors in simulink?
21 ビュー (過去 30 日間)
古いコメントを表示
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.
0 件のコメント
回答 (2 件)
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!
0 件のコメント
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.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!