datetime matlab different temporal resolution
问题 I am trying to plot two timeseries in one graph. Unfortunatelly, the data sets have different temporal resolutions and my code using datetime does not work. My aim is one xtick per hour. Any idea how I can solve that problem? Thanks! dataset1 = rand(1,230).'; dataset2 = rand(1,33).'; xstart = datenum('19/02 09:00','dd/mm HH:MM'); xend = datenum('21/02 18:00','dd/mm HH:MM'); x = linspace(xstart,xend,20); Dat = linspace(xstart,xend,numel(dataset1)); x1=[1:1:230].' %values every 15 minutes x0_OM