Borrar filtros
Borrar filtros

using cell array to matrix in gpu computing

5 visualizaciones (últimos 30 días)
Sewon
Sewon el 11 de Abr. de 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 comentario
Jill Reese
Jill Reese el 11 de Abr. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Mathematics en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by