Info

This question is closed. Reopen it to edit or answer.

Multiply mutiple numbers by 1.66666666666667

1 view (last 30 days)
DAid
DAid on 29 Jul 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
I have 100's of numbers and I want to multiply them all by 1.66666666667.
Help please?

Answers (1)

Andrew Reibold
Andrew Reibold on 29 Jul 2014
Edited: Andrew Reibold on 29 Jul 2014
Are the numbers stored in an array?
If they are, say they are stored in an array called "MyNumbers", you can type
Solution = MyNumbers*5/3
The answer is a new array, but filled with the multiplied numbers.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by