how to increment no. upto particular iteration so that total sum will be desired value.

1 view (last 30 days)
Suppose I have a number 0.16. I have to take small no. and want to increment it by constant or non constant value up to particular iteration(b) so that total sum will be 0.16. i.e. I have value 0.16. increment iteration is 6. so I take value less than 6 times of 0.16 i.e. 0.16/(6+2)=0.02. I have to increment 0.02 by constant or nonconstant value so that total some 0.02+b+c+d+e+f+g=0.16. how to do it.

Answers (0)

Community Treasure Hunt

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

Start Hunting!