Hello all,
I have a timeseries of the cortex. I want to separte wake vs. sleep based on a behavior of clicking, which I can split up by time.
I want to split up the sections where the subject is asleep vs. when the subject is awake.
I keep getting the error:
Error using timeseries/plot (line 27)The plot method can only be used for a single timeseries objectError in untitled5 (line 22)plot(ttt, sleep)
I've tried:
%%%%
sleep = timeseries(d_c_ts_1(:,1), 1:9809,'name', 'intersection1');sleep = timeseries(d_c_ts_1(:,1), 1:9809,'name', 'intersection1');sleep = timeseries(d_c_ts_1, 1:9809,'name', 'intersection1')figure;plot(ttt, sleep)
Best Answer