Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Multiply mutiple numbers by 1.66666666666667

1 vue (au cours des 30 derniers jours)
DAid
DAid le 29 Juil 2014
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have 100's of numbers and I want to multiply them all by 1.66666666667.
Help please?

Réponses (1)

Andrew Reibold
Andrew Reibold le 29 Juil 2014
Modifié(e) : Andrew Reibold le 29 Juil 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.

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by