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?
Mostra commenti meno recenti
what function will recombine my dataset when matlab automatically seperates my id column and row headers from the data
2 Commenti
Walter Roberson
il 14 Mag 2013
Modificato: Walter Roberson
il 14 Mag 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
il 15 Mag 2013
Risposta accettata
Più risposte (1)
Image Analyst
il 15 Mag 2013
0 voti
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 Commenti
john borsellino
il 15 Mag 2013
john borsellino
il 15 Mag 2013
Image Analyst
il 16 Mag 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
il 16 Mag 2013
Categorie
Scopri di più su Spreadsheets in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!