フィルターのクリア

Convert double

2 ビュー (過去 30 日間)
Xavier
Xavier 2011 年 9 月 14 日
Hi,
I have a matrix like A: A=[1;1;1;1;1;1] A is 6*1 double I need to transform this double type matrix to a cell type matrix like B: B=[1;1;1;1;1;1] B is 6*1 cell
I cannot find any function to do the following transformation but it must be easy.
Thansk for you help
Xavier

採用された回答

Andrei Bobrov
Andrei Bobrov 2011 年 9 月 14 日
B = num2cell(A)
  1 件のコメント
Xavier
Xavier 2011 年 9 月 14 日
thanks it works. I do not know how I could not find this one. Thanks a lot.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by