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!