フィルターのクリア

How to add Elements from a "double array" in a "specified column" of cell array ....

13 ビュー (過去 30 日間)
Priya
Priya 2013 年 4 月 6 日
I have a CELL ARRAY (stored in variable "Alpha") of 20 X 10 order.
It has text say "Boy", "Girl" etc. in first column.
There is a DOUBLE ARRAY (stored in variable Beta) of 20 X 4 order.
I wish to copy the contents of its first column into second column of the CELL ARRAY.
Please help.

採用された回答

the cyclist
the cyclist 2013 年 4 月 6 日
One possible way:
>> Alpha(:,2) = num2cell(Beta(:,1));

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCharacters and Strings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by