Multiplication of rows in a single column

2 次查看(过去 30 天)
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

回答(2 个)

Guillaume
Guillaume 2019-5-15
prod(yourvector)

madhan ravi
madhan ravi 2019-5-15

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by