merge arrays of different types to write in excel sheet
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
- 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.
0 commentaires
Réponse acceptée
Azzi Abdelmalek
le 7 Juil 2013
Modifié(e) : Azzi Abdelmalek
le 7 Juil 2013
Example
a=repmat('a',4,8)
b=rand(4,1)
out=[cellstr(a); num2cell(b)]
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Spreadsheets dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!