How can I view Timeseries data?
41 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I remember I once used matlab to view Timeseries date with Zoom, pan capability along the timeline.But coming to matlab after a pause I could not remember which tool it was ? does any body know it? It opens a new window where I can load and manupulate timeseris data.
0 commentaires
Réponse acceptée
per isakson
le 14 Nov 2014
Modifié(e) : per isakson
le 14 Nov 2014
 
This is R2013a. Now I tested something new (to me): the   tstool.   However, the zoom and pan button are very similar. Code from documentation:
load count.dat;
count1=timeseries(count(:,1),1:24);
count1.Name = 'Oak St. Traffic Count';
count1.TimeInfo.Units = 'hours';
Obtain time of maximum value and add it as an event:
[~,index] = max(count1.Data);
max_event = tsdata.event('peak',count1.Time(index));
max_event.Units = 'hours';
% Add the event to the time series:
count1 = addevent(count1,max_event);
% Replace plot with new one showing the event:
tstool( count1 ) %%<<<<<<<<<<<<<<<<
2 commentaires
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Time Series Collections dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!