How to find equal quantity

1 次查看(过去 30 天)
Jens Petit-jean
Jens Petit-jean 2021-3-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
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])
Jens Petit-jean
Jens Petit-jean 2021-3-30
oh hahaha ofcourse thanks

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by