Increase numbers by different percentages

I can't figure out how to start this question, I've found shortcuts on how to increase a number by a certain precentage 10 times, but I can't figure out how to do it with the different precentages. Is there a shortcut or specific command for this?

3 commentaires

Steven Lord
Steven Lord le 22 Jan 2019
If you show us what you've done to try to solve this problem and ask a specific question we may be able to provide some guidance.
Walter Roberson
Walter Roberson le 22 Jan 2019
We are not just going to give you solutions. You have to ask particular questions. Otherwise we will just refer you to the reference material on how to learn MATLAB, or reference material on introduction to computer programming. It is a huge waste of our time to guess what you need to know.
Walter Roberson
Walter Roberson le 23 Jan 2019
Hint: cumprod()

Connectez-vous pour commenter.

Réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by