What code can I use to get a system of equations to individually add up to a large sum?

1 visualización (últimos 30 días)
Note: They can not all be equal to each other. I could guess but it'd be repitive and tedious and easy to make a mistake. Its for a school puzzle I am making.
  3 comentarios
John D'Errico
John D'Errico el 13 de Mzo. de 2020
As Steven has said, this is way to vague for any answer.
If I had to guess, you are looking for something like an integer partition of a number. But you need to recognize that the number of ways will be huge that you can write a number even as small as 100 as a sum of distinct integers, none of which are the same.
Jon
Jon el 13 de Mzo. de 2020
Editada: Jon el 13 de Mzo. de 2020
Just a style suggestion, it is better to have a brief description of the nature of your problem in the title, and then provide more details in the body of your question. Here you ended up with a very long title, and no body. So the title was too long and there still wasn't enough of a description for people to help you. So, next time, please try for a shorter title, and longer description in the body.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by