Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

Multiplying a Vector's Elements Together

1 visualizzazione (ultimi 30 giorni)
Julianna
Julianna il 1 Mag 2020
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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?

Risposte (1)

David Hill
David Hill il 1 Mag 2020
prod()

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by