multiply along
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
~EDITED'
Hi there, I have a long matrix 1000 x 34 want to do the cumulative multiplication left to right to give a 1000 x 1 matrix then the sum of the multiplication going downwards. So like a sum function but multiplying each element going sideways then downwards.
EDITED THIS ANSWER HAS BEEN ANSWERED but need a follow on answer...
0 Commenti
Risposta accettata
Più risposte (1)
Walter Roberson
il 6 Giu 2012
If the numbers are strictly positive, you could log() and cumsum() and exp() the result.
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!