Info

此问题已关闭。 请重新打开它进行编辑或回答。

Multiplying a Vector's Elements Together

1 次查看(过去 30 天)
Julianna
Julianna 2020-5-1
关闭: MATLAB Answer Bot 2021-8-20
Hello.
I have a single row vector optained from a while loop, called "xiStor(n)=xupdated", where n is the number of iterations in the while loop, and xupdated contain's each iterations calculation. I want to extract all the values in this vector and multiply them together. Is there a function to do this?

回答(1 个)

David Hill
David Hill 2020-5-1
prod()

此问题已关闭。

标签

Community Treasure Hunt

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

Start Hunting!

Translated by