Multiply each 3D gpuArray page column with each other
Ältere Kommentare anzeigen
Hello to All, Can anyone give advice on the following matter? Lets say I have 3D gpuArray a (XxYxZ) with random numbers, I need to multiply every column of each page with other columns. A dumb version would look something like this:
D=pagefun(@times,a(:,1,:),a(:,1:end,:));
As you can see here only first column would be multiplied with others, but I need all columns. And yes I understand that this code does not work, it is just an example of what I am trying to achieve. Multiply each 3D gpuArray page column with each other
Akzeptierte Antwort
Weitere Antworten (0)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!