Question

plotting double timeseries - running into problems with plotting a as a proper time series

hello! I am trying to plot a 10x2 double variable. When I looked at the actual variable, it is made up of two columns, the firs...

3 years ago | 0 answers | 0

Question

plotting a variable x axis

Hello! I have a timeseries that I was plotting with standard x and y axis. I just spoke with my PI though and she would like me...

3 years ago | 0 answers | 0

Question

Index in position 1 exceeds array bounds (must not exceed 1) -- cannot fix behavior script

Hello! I need help with my behavior script -- I am trying to plot a .mat file that has the dimensions of ans: [2×8297 double]. ...

3 years ago | 1 answer | 0

Answered

splitting up a timeseries into separate components

hello! found a good function for anyone in the future: https://github.com/VincentToups/matlab-utils/blob/master/chronux/docume...

splitting up a timeseries into separate components

hello! found a good function for anyone in the future: https://github.com/VincentToups/matlab-utils/blob/master/chronux/docume...

4 years ago | 0

| accepted

Question

splitting up a timeseries into separate components

hi all! I am trying to seperate chunks of a timeseries into sleep vs. wake components. I'm having problems with two things: ...

4 years ago | 1 answer | 0

Question

splitting up time series into separate chunks?

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 sp...

4 years ago | 1 answer | 0

Question

standard deviation on power vs. frequency graph

Hello all! I am trying to put a shaded standard deviation on a power vs. frequency graph. I've tried: %errorbar plot(f, m...

4 years ago | 1 answer | 0

Question

error only showing up with one for loop -- can't figure out what the problem is? going crazy?

Hello all! I am running for loops on timeseries that I have put into an array, and then I calculated the power. I then just wan...

4 years ago | 1 answer | 0

Question

trying to make many subjects the same color in graph

Hello! I am trying to make groups of subjects on a graph, and I am trying to define the subject and give it a certain color. ...

4 years ago | 1 answer | 0

Question

scatter plot: x and y vectors must be of the same length -- errors

hello everyone! i am trying to make a categorical scatter plot that has the x axis equal 'cortex' and 'ventricle' and then th...

4 years ago | 1 answer | 0

Question

Unable to perform assignment because the left and right sides have a different number of elements -- variables do have same number

I am trying to make a for loop loop through data, detrend it, then output it is a variable so that i can plot them. For some rea...

4 years ago | 0 answers | 0