Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
2024.0.0 - Русский


timeseries2table

convert a timeseries into a table

Syntax

t = timeseries2table(ts)

Arguments

ts

timeseries object

t

table object

Description

timeseries2table converts a timeseries into a table. The row times (first column) of ts becomes the first variable of t.

Examples

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);

See also

Report an issue
<< timeseries Timeseries/Table varfun >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Tue Oct 24 14:37:13 CEST 2023