Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Multiplying a Vector's Elements Together

1 vue (au cours des 30 derniers jours)
Julianna
Julianna le 1 Mai 2020
Clôturé : MATLAB Answer Bot le 20 Août 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?

Réponses (1)

David Hill
David Hill le 1 Mai 2020
prod()

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by