Azzera filtri
Azzera filtri

using cell array to matrix in gpu computing

5 visualizzazioni (ultimi 30 giorni)
Sewon
Sewon il 11 Apr 2012
I have output at gpu output from arrayfun. Since output of the arrayfun is cell array, since each cell includes same size of vector,I would like to convert to matrix. Becasue the next operation is matrix operation.
But gpu computing does not support cell2mat.
what is the best way to convert this to matrix? And I am try not to loose the speed advantage from gpu computing. Avoid for loop etc...
  1 Commento
Jill Reese
Jill Reese il 11 Apr 2012
The output from arrayfun is not a cell array, so no conversions should be required to use the output from arrayfun in later matrix operations. It would be easier to see the problem you are encountering and provide suggestions if you post a snippet of code.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by