Multiply mutiple numbers by 1.66666666666667

I have 100's of numbers and I want to multiply them all by 1.66666666667.
Help please?

Answers (1)

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.

This question is closed.

Tags

Asked:

on 29 Jul 2014

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!