Multiplying a Vector's Elements Together

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 日

0 投票

prod()

この質問は閉じられています。

タグ

質問済み:

2020 年 5 月 1 日

閉鎖済み:

2021 年 8 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by