Clear Filters
Clear Filters

Convert timetable into matrix where time is a variable

114 views (last 30 days)
I have a timetable that looks like this.
What I want is a matrix that looks like this:
A=[ 3849 0.1833
3850 0.1833
3851 0.1833]
That is, the time in column 1 and in column 2 the variable

Accepted Answer

Adam Danz
Adam Danz on 9 Mar 2021
Edited: Adam Danz on 9 Mar 2021
A = [minutes(TT.Time), TT.Var1];

More Answers (0)

Categories

Find more on Tables in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!