How can I create a function in simulink that takes a matrix input?

1 view (last 30 days)
I want to build a model that uses fundamental inputs, for example, EPS PE, to get a target price for stocks.
I would like to analyse many stocks at once so that I don't need to calculate them one by one.
Can I inputs those data in matrix and get all outputs for individual stocks?

Answers (1)

Walter Roberson
Walter Roberson on 6 Mar 2016
Sometimes you need to input a vector and reshape it to 2D for calculations.

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!