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

조회 수: 1 (최근 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 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