Azzera filtri
Azzera filtri

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

1 visualizzazione (ultimi 30 giorni)
finding the product of all my numbers in 1:20

Risposte (3)

Andrei Bobrov
Andrei Bobrov il 31 Ott 2018

madhan ravi
madhan ravi il 31 Ott 2018
Modificato: madhan ravi il 31 Ott 2018
a=1:20;
prod(a)

Torsten
Torsten il 31 Ott 2018
sol = prod(1:20)

Community Treasure Hunt

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

Start Hunting!

Translated by