Is it possible to perform multiplication and update 'val' inside accumarray?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
dpb
le 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.
Réponses (0)
Voir également
Catégories
En savoir plus sur Cell Arrays dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!