How can I delete the same chunck from a column?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Armando MAROZZI
am 19 Mär. 2020
Kommentiert: Armando MAROZZI
am 19 Mär. 2020
I am new to Matlab (coming from R). Sorry if the question is very basic.
I have a 216x8 table. The first column is a Date column which looks like this:
03-Jan-2002 00:00:00
07-Feb-2002 00:00:00
07-Mar-2002 00:00:00
04-Apr-2002 00:00:00
02-May-2002 00:00:00
%I would like to get this though while keeping all the other columns constant:
03-Jan-2002
07-Feb-2002
07-Mar-2002
04-Apr-2002
02-May-2002
1 Kommentar
Loren Shure
am 19 Mär. 2020
Armando-
Suppose your table is in the variable tbl. Try this
tbl.Date.format = "dd-MM-yyyy"
--loren
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Language Fundamentals finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!