Multiplication of rows in a single column

1 Ansicht (letzte 30 Tage)
Tino
Tino am 15 Mai 2019
Beantwortet: madhan ravi am 15 Mai 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

Antworten (2)

Guillaume
Guillaume am 15 Mai 2019
prod(yourvector)

madhan ravi
madhan ravi am 15 Mai 2019
x = prod(A)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by