フィルターのクリア

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 Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by