How to find equal quantity

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 comentarios

Are Mjaavatten
Are Mjaavatten el 30 de Mzo. de 2021
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 el 30 de Mzo. de 2021
oh hahaha ofcourse thanks

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre MATLAB en Centro de ayuda y File Exchange.

Preguntada:

el 30 de Mzo. de 2021

Comentada:

el 30 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by