Adding a column of character data to a column of numeric data
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I have two columns of data. One is a column of numeric data, and one is a column of time data. G=numeric data; T=datestr(T, 'HH:MM:SS');
The columns are the same length. I want to take the column of time data and insert it into G. As in have a 600by2 matrix with one column of data is numeric and the other is the time data.
0 Commenti
Risposta accettata
Walter Roberson
il 10 Mag 2012
The only kind of array that can mix numeric data and character data is a cell array. You would get that with
{G, T}
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!