why does matlab seperate my column of identifiers and row of column headers from the data? what function puts them back together?i have created a new column of data that needs to be put together with the original data, how do i attach that?
Afficher commentaires plus anciens
what function will recombine my dataset when matlab automatically seperates my id column and row headers from the data
2 commentaires
Walter Roberson
le 14 Mai 2013
Modifié(e) : Walter Roberson
le 14 Mai 2013
How are you reading the data in? Are your headers text strings? Is your data numeric ? When you say you need to put them back together, then are you wanting to produce a text array or a numeric array?
john borsellino
le 15 Mai 2013
Réponse acceptée
Plus de réponses (1)
Image Analyst
le 15 Mai 2013
0 votes
Does it look all separated when you open it up in Excel? If so, then you wrote out the workbook using strings in xlswrite() instead of cells. If the string is inside a cell, then the whole string will be in one Excel cell. If you just used xlswrite to write out strings, then it will put each character into its own cell in Excel. So tell me (1) did you write out the workbook with xlswrite(), and if so, (2) do you have one character per Excel cell?
4 commentaires
john borsellino
le 15 Mai 2013
john borsellino
le 15 Mai 2013
Image Analyst
le 16 Mai 2013
Upload your workbook if you want us to take a look at it.. http://www.mathworks.com/matlabcentral/answers/7924-where-can-i-upload-images-and-files-for-use-on-matlab-answers
john borsellino
le 16 Mai 2013
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!