extracting timetable variables as array
38 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Sehoon Chang
am 2 Sep. 2020
Kommentiert: Sehoon Chang
am 3 Sep. 2020
Hi
i have a timetable imported from excel with undefined number or variables (number of usable variables change depending on situation).
Is there a possibility to extract all the variables with names that are written on top row of timetable as array into MATLAB?
e.g.: tempC = [11, 11, 11, 11, ....]
windspeed = [7.00, 7.00, 7.00, ...]
thanks for your help!
Akzeptierte Antwort
VBBV
am 3 Sep. 2020
tempC = timetable_csv{:}{2};
windspeed = timetable_csv{:}{3};
timestamp = timetable_csv{:}{1};
1 Kommentar
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Preprocessing Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!