How to read from Excel columns into Signal analyzer app?
이전 댓글 표시
Hi all
I read a two column signal ,time and displacement from Excel file and tried the Signal analyzer help page to convert it to something readable for the app. but
I was unsuccessfull in converting the Table time column into seconds.
str.st = mysig(:,1);
str.s1 = mysig(:,2);
T = struct2table(str);
T.st = seconds(T.st);
TT = table2timetable(T,'RowTimes','st');
Input data must be a real, numeric array.
I should mention that the structure contains two tables, and when I create T, I have a Table of tables and this might have caused the error.
it could have been much better that the signal analyzer app was able to internalize the data type conversion and adapt any parameter that was to be read.
댓글 수: 4
Sean de Wolski
2020년 4월 30일
TT = table2timetable(T,'RowTimes',T.st);
farzad
2020년 4월 30일
farzad
2020년 4월 30일
Sean de Wolski
2020년 4월 30일
What is T.st before the error?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
