photo

NA


Last seen: 거의 2년 전 2020년부터 활동

Followers: 0   Following: 0

통계학

  • First Answer
  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


How can I find the mean of multiple variables in for loop
Hi, I have 10 workspace variables (A1, A2 ....A10), each have different dimensions. I would like to find the mean of each varia...

대략 2년 전 | 답변 수: 2 | 0

2

답변

질문


I would like help setting up my code
Hi, I have an array (31003x1), made up of -1’s, 0’s, and 1’s, that represents neural data. The data was down-sampled from 24.41...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


How can I make my code run faster?
Hi, Hope someone can help. I would like to improve my code and make it run faster, but I'm not sure what I need to do. %si...

대략 2년 전 | 답변 수: 1 | 0

1

답변

질문


How do I use if elseif to find indices of elements that meet a statement and assign NaN to elements that don't?
Hi All, I have a 3D matrix (a2). I want to find the index of elements in a2 <= -0.1 in the first dimension for all trials (trl...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How do I store data that meet conditions of an if statement
Hi All, I'm slightly struggling trying to get my code to work, and I hope someone can point me in the right direction. Very br...

거의 4년 전 | 답변 수: 3 | 0

3

답변

질문


How should I organise data for unbalanced two factor anova analysis (anovan)
Hi All, I have two groups (control; n=13 and interven; n=12). For each group, I have collected the peak amplitudes of each subj...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How do I replace/convert all zeros in 3rd-dimension to NaN
Hi All, I have a 5-D matrix: 5x16x20x3x15, where 5x16 is the data set; 20 is the number of trials (per experiment); 3 is the nu...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


How do I maintain my array size (or dimensions) when I run it through a nested for loop?
Hi All, I have an array, 'data' (5x16x2), that I have shifted to the left (by 1 column) and zero-padded the right accordingly. ...

대략 4년 전 | 답변 수: 1 | 0

1

답변

답변 있음
trying to have two figures on the same screen?
%larger figure on the right figure; subplot(2,2,1); subplot(2,2,3); subplot(2,2,[2 4]); %larger figure on the left figur...

4년 초과 전 | 0

질문


How do I position a label below a colorbar?
Is there a way to add a label below a colorbar, as shown in the pic? I am able to add a label (title) on top of the colorbar...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How do I average a 5-dimensional array?
Hi All, I have a 5-D array that is 244 x 16 x 10 x 4 x 5, the '244 x 16' is data collected over time; the '10' is the number...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Loading a cell array (string) with different lengths into a for loop
Hi All, I have a cell array (string), as follows: control = {... 'folderA', 'exp1', 'exp2' 'exp3'... %fol...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How can I create a subplot from for loop with an if statement
Hi All, I have two threshold values that I would like to run through my for loop, and subsequently plot each 'meanMUA' (for ...

4년 초과 전 | 답변 수: 0 | 0

0

답변

답변 있음
Plotting with data in .mat files
You are getting an error because the vectors are not the same size. You have a 16 x 239766 matrix and you want to plot it again...

4년 초과 전 | 0

질문


How do I shift columns (left or right) in a matrix
Hi All, I would like to non-circularly shift my matrix and then have zeros padded to either the left or right (depending on the...

4년 초과 전 | 답변 수: 3 | 0

3

답변

질문


How do I debug my matlab code?
Hi All, I need some help debugging my code. It's something minor (I hope), but I can't seem to figure it out. AbData = rand...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Help fixing error message: Index in position 2 exceeds array bounds (must not exceed 1).
Hi All, Can someone please help me with my code. I get the error message "Index in position 2 exceeds array bounds (must not ex...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How do I create a sliding window and/or bin that records the number of elements over a given time period
I have neural data collected across 16 different channels (2d matrix = 756909 x 16). This data was recorded over a 30 second per...

4년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Difficulty setting legend dataset colour
Hello, I am having some difficulty with my legend. I keep getting the following error: 'Subset must be a vector of graphics obj...

4년 초과 전 | 답변 수: 0 | 0

0

답변

질문


How can I increase the vertical size of subplots?
Hi, I'm trying to increase the verticle size of my subplots, but I'm having no luck. Can someone please let me know where I've ...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


No gaps between subplot in for loop and shared subplot title
Hi, I'd really appreciate your help. I have plotted two subplots and would like to position the Intervention and Control subpl...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How do I plot two subplots side by side in one figure?
Hello, I'd like to plot two subplots side by side in one figure. I currently have two subplots in a for loop each, and from wha...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


how can I give each subplot a different title?
Hi, I was wondering if someone could please help me. I would like to give my subplots the following titles: 0.4mA, 0.6mA, 0.8m...

4년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Error bars on categorical bar plot
Hi, I'm trying to plot error bars on my categorical plot, but the second error bar doesn't align with the second bar. Can someo...

4년 초과 전 | 답변 수: 1 | 0

1

답변