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

3 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: ...

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

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

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

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

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

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

3 years ago | 0 answers | 0