GpuArrays and Subtracting out the Mean
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Science Machine
am 3 Sep. 2022
Beantwortet: Walter Roberson
am 3 Sep. 2022
I have a gpuArray
A = rand(5,5,3 ,'gpuArray')
which i think of as 3 5x5 matrices. I would like to find the elementwise average over the 3 matrices and then subtract from each element that average out
Is there a best way to do this for gpuArrays, that follows best Matlab practices (is vectorized)?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu GPU Computing 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!