How do i find the product of all the numbers in my matrix

1 visualización (últimos 30 días)
Nicholas Cappellino
Nicholas Cappellino el 31 de Oct. de 2018
Editada: madhan ravi el 31 de Oct. de 2018
finding the product of all my numbers in 1:20

Respuestas (3)

Andrei Bobrov
Andrei Bobrov el 31 de Oct. de 2018

madhan ravi
madhan ravi el 31 de Oct. de 2018
Editada: madhan ravi el 31 de Oct. de 2018
a=1:20;
prod(a)

Torsten
Torsten el 31 de Oct. de 2018
sol = prod(1:20)

Categorías

Más información sobre Geometric Transformation and Image Registration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by