필터 지우기
필터 지우기

using cell array to matrix in gpu computing

조회 수: 5 (최근 30일)
Sewon
Sewon 2012년 4월 11일
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
Jill Reese
Jill Reese 2012년 4월 11일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Mathematics에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by