How to read from Excel columns into Signal analyzer app?
Mostra commenti meno recenti
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 Commenti
Sean de Wolski
il 30 Apr 2020
TT = table2timetable(T,'RowTimes',T.st);
farzad
il 30 Apr 2020
farzad
il 30 Apr 2020
Sean de Wolski
il 30 Apr 2020
What is T.st before the error?
Risposta accettata
Più risposte (0)
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!
