Extracting element values from a matrix in Simulink

I have a covariance matrix P(k) that's [2x2] I want to read the values of the diagonal elements with a scope. I was wondering how this could be done?
Best Regards,
Shawn Daniel

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2015년 8월 10일
편집: Azzi Abdelmalek 2015년 8월 10일

0 개 추천

You can use a selector block

댓글 수: 1

I'm sorry for restating the question, but for a four by four matrix, I was wondering how to setup the selector so that I could output the diagonal elements as a [1x4] or [4x1]?
Best,
Shawn Daniel

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

2015년 8월 10일

댓글:

2015년 8월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by