How to select eaach element from a matrix multiplication with bus selector

2 ビュー (過去 30 日間)
Peppe
Peppe 2017 年 9 月 26 日
コメント済み: KL 2017 年 9 月 27 日
I have a nxn Jacobian matrix and a nx1 vector that I multiplied and the result is a nx1 vector. I need to select each element there. Does anyone know how to select these with for instance bus selector? Becouse I need to do some operations with each element.
Matlab R2014b
Thanks in advance

採用された回答

KL
KL 2017 年 9 月 26 日
編集済み: KL 2017 年 9 月 26 日
  4 件のコメント
Peppe
Peppe 2017 年 9 月 26 日
編集済み: Peppe 2017 年 9 月 26 日
Kl. The reason a bus selector does not work is that bus selector should have a bus creator before. Otherwise bus selector does not know what signal to choose. The demux works good but I had to double control it by reading lines of outputs. But for now it works good and we can now close this.
KL
KL 2017 年 9 月 27 日
Indeed, that's exactly the advantage of using bus over just mux. Nevertheless glad it all worked out.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeGeneral Applications についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by