Is it possible to perform multiplication and update 'val' inside accumarray?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
An accumarray function is defined as
A = accumarray(subs,val,sz)
I am running accumarray function in a loop , Is it possible to do
val = val.*another_matrix
inside the accumarray function?
2 Kommentare
dpb
am 17 Sep. 2018
Directly as such, no.
How about a (smallish) example of what you're actually trying to compute? Perhaps an actual example would lead to some alternative methods.
Antworten (0)
Siehe auch
Kategorien
Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!