using specific columns from a constant

1 view (last 30 days)
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

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 19 Feb 2013
Edited: Azzi Abdelmalek on 19 Feb 2013
In your constant block set the value to
matrix(:,1:9)
Use another constant block for X

More Answers (0)

Categories

Find more on Simulink in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!