Multiplication of rows in a single column

1 visualización (últimos 30 días)
Tino
Tino el 15 de Mayo de 2019
Respondida: madhan ravi el 15 de Mayo de 2019
Hi
Please how do I multiply the rows in a single column
I have a matrix with the size 200 1
thanks for your help
for instance
A
1
2
3
4
6
6.
.
.
n
x = 1 * 2 * 3 * 4 * 6 * 6 ...........n
Thanks in advance
Tino

Respuestas (2)

Guillaume
Guillaume el 15 de Mayo de 2019
prod(yourvector)

madhan ravi
madhan ravi el 15 de Mayo de 2019
x = prod(A)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by