Filter löschen
Filter löschen


Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How can I get all the situations of ki, which subjects to the equation?

1 Ansicht (letzte 30 Tage)
Tingting Zhang
Tingting Zhang am 19 Nov. 2015
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
i is an varied integer from 1 to N (N is a given integer i.e. 40). ki is also an integer, whose value can be any one from -3 to 3. I want to calculate all the different combinations of ki subjecting to the condition that sigma(i*ki)=n. (n is a varied integer with a value from 1 to N). For example, we let n=20, the answers for this equation should include ki=1(i=20), ki=0(i≠20); and ki=2(i=10), ki=0(i≠10) etc.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by