Is it possible to perform multiplication and update 'val' inside accumarray?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
dpb
2018년 9월 17일
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.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Cell Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!