Multiply mutiple numbers by 1.66666666666667

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

回答(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.

此问题已关闭。

标签

提问:

2014-7-29

关闭:

2021-8-20

Community Treasure Hunt

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

Start Hunting!

Translated by