Azzera filtri
Azzera filtri

How to store multiple time data in a matrix?

2 visualizzazioni (ultimi 30 giorni)
I have to store three time entities i.e 8.30a.m, 8.00a.m and 8.20a.m in a single matrix using datenum.
i tried doing this:
SCT= [datenum ('0000.',''),datenum ('0000.',''),datenum ('0000.','')];
but I am getting syntax error. Where am i going wrong? Please help.

Risposta accettata

Mischa Kim
Mischa Kim il 26 Giu 2014
Febin, remove the empty spaces between the datenum commands and the round brackets:
rather than
datenum ('0000.','')

Più risposte (0)


Scopri di più su Time Series Objects in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by