How can I create a function in simulink that takes a matrix input?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Walter Roberson
2016-3-6
It depends on the block you use. See http://www.mathworks.com/help/simulink/ug/signal-dimensions.html
Sometimes you need to input a vector and reshape it to 2D for calculations.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Financial Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!