Filter löschen
Filter löschen

Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Multiplying a Vector's Elements Together

1 Ansicht (letzte 30 Tage)
Julianna
Julianna am 1 Mai 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 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?

Antworten (1)

David Hill
David Hill am 1 Mai 2020
prod()

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by