convert a timeseries into a table
t = timeseries2table(ts)
timeseries object
table object
timeseries2table converts a timeseries into a table. The row times (first column) of ts becomes the first variable of t.
t = timeseries2table(ts)
Time = datetime(2023, 6, 1:3)'; A = [1; 2; 3]; B = [10; 20; 30]; C = [-10;-20;-30]; ts = timeseries(Time,A,B,C, "VariableNames", ["Time", "A", "B", "C"]); T = timeseries2table(ts); | ![]() | ![]() |
Version | Description |
2024.0.0 | Introduction in Scilab. |