How to find equal quantity
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I have a budget from 100000euro and 5 options wit prices 89.2592 35.1637 108.6419 83.2887 112.1572 in euro
How do I share this budget so I will have an equal quantity of the 5 options?
Thanks in advance
댓글 수: 2
Are Mjaavatten
2021년 3월 30일
This seems trivial, but maybe I misunderstand?
n = 100000/sum([89.2592 35.1637 108.6419 83.2887 112.1572])
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!