Convert timetable into matrix where time is a variable

33 Ansichten (letzte 30 Tage)
Joel Schelander
Joel Schelander am 9 Mär. 2021
Bearbeitet: Adam Danz am 9 Mär. 2021
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

Akzeptierte Antwort

Adam Danz
Adam Danz am 9 Mär. 2021
Bearbeitet: Adam Danz am 9 Mär. 2021
A = [minutes(TT.Time), TT.Var1];

Weitere Antworten (0)

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by