Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Multiply mutiple numbers by 1.66666666666667

1 visualización (últimos 30 días)
DAid
DAid el 29 de Jul. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I have 100's of numbers and I want to multiply them all by 1.66666666667.
Help please?

Respuestas (1)

Andrew Reibold
Andrew Reibold el 29 de Jul. de 2014
Editada: Andrew Reibold el 29 de Jul. de 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.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by