extracting timetable variables as array
조회 수: 37 (최근 30일)
이전 댓글 표시
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!
채택된 답변
VBBV
2020년 9월 3일
tempC = timetable_csv{:}{2};
windspeed = timetable_csv{:}{3};
timestamp = timetable_csv{:}{1};
댓글 수: 1
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Preprocessing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!