フィルターのクリア

merge arrays of different types to write in excel sheet

1 回表示 (過去 30 日間)
saharsahar
saharsahar 2013 年 7 月 7 日
  • Hi All, I have arrays of different types:*
a : 4*8 Char
b : 4*1 double
c : 4*1 double
d : 4*8 Char
e : 4*1 double
I want to merge them as a one array , lets'say, Output.and finally I want to write Output with all of the elements to the excel sheet.
Is there any way to merge these arrays of different types together?
Thanks in advanced for your help.

採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 7 月 7 日
編集済み: Azzi Abdelmalek 2013 年 7 月 7 日
Example
a=repmat('a',4,8)
b=rand(4,1)
out=[cellstr(a); num2cell(b)]
  1 件のコメント
saharsahar
saharsahar 2013 年 7 月 7 日
Thank you very much , You made my day today !

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

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by