using specific columns from a constant

조회 수: 1 (최근 30일)
tony karamp
tony karamp 2013년 2월 19일
hello all,
I have a rather large matrix (99226,40) that I load to a .mdl via From Workspace and use it as a constant input to a product. Is there a way where I can select how many of the columns I can use?
i.e. I want to see the product of X*matrix(:,1:9);
X is also a constant.
Thank you in advance

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 2월 19일
편집: Azzi Abdelmalek 2013년 2월 19일
In your constant block set the value to
matrix(:,1:9)
Use another constant block for X

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by