Community Profile

# Eric

Last seen: 9 giorni ago Active since 2014

#### Content Feed

View by

Question

Using datetime function - questions on speed and specific time points
Dear community, I'm currently trying to run the code below to label some recorded data with specific times. However, when it is...

circa 2 mesi ago | 1 answer | 0

### 1

Question

Using the cpsd function
Dear everyone, I have some data that was collected at a sampling rate of 200 sample/second. However, I want to calculated the...

circa un anno ago | 1 answer | 0

### 1

Question

Chi-squared for multiple groups
Dear all I have data on gender (male/female) for 4 groups that I would like to compare. I found this previous post that s...

circa un anno ago | 2 answers | 0

### 2

Question

Fill line with colors using the heatmap
Hey everyone, I'm currently trying to use the function: plot to create af figure similar to this: Does anyone know h...

oltre 2 anni ago | 1 answer | 0

### 1

Question

Remove repeated numbers in series
Hi everyone, I have a sequence of number like x = [3 3 3 3 3 2 2 2 2 2 2 2 1 1 1 1 3 3 3 3 3 3]; And I would like to reduce ...

circa 3 anni ago | 2 answers | 0

### 2

Question

Comparing two groups using aoctool - p-value for comparison?
Hi everyone, I've been trying to use aoctool to compare two groups with one covariate as follows: [h,atab,ctab,outstats]...

oltre 3 anni ago | 0 answers | 0

### 0

Question

Create sine wave with noise within 10-20 Hz
Hi everyone, I would like to create a sine wave with noise within a narrow spectrum (10-20 Hz). Is it possible to create a si...

circa 4 anni ago | 1 answer | 0

### 1

Question

Using aoctool in the right way
Hi everyone, I'm interested in using aoctool for some calculations but I can't find that much documentation for the function....

circa 4 anni ago | 1 answer | 0

### 1

Question

Export number with fewer decimals and a number in parentheses
Hi everyone, I currently have the following number in a 8x4 double. I want to turn this number: -0.6100 to the following: -0....

circa 4 anni ago | 1 answer | 0

### 1

Question

normr - part of toolbox?
Hi everyone, I've been trying to run a script, which uses a function called normr. Is normr a part of the neural networks to...

oltre 4 anni ago | 1 answer | 0

### 1

Question

Error using glmfit: Second column in Y?
Hi everyone, I'm currently trying to use glmfit like this: B2 = glmfit(x(c,:),y,'binomial'); With y being a n x 1 ma...

oltre 4 anni ago | 2 answers | 0

### 2

Question

Any MATLAB functions for prediction index and Brier score
Hi everyone, I have 3 groups (group A, B, and C) and I've performed logistic regression between group A&B, and A&C. My outcom...

circa 5 anni ago | 1 answer | 0

### 1

Question

Replace 1's with 0's if there is less that five 1's between 0's in vector
Hi everyone, I want to replace 1's with 0's if there are less than five 1's between the zeros in a large vector. For example,...

circa 5 anni ago | 1 answer | 0

### 1

Question

Loop in cell array
Hi everyone, I'm currently trying to add a number in the end of a filename like this: for jj = 1:244 names(jj) = c...

circa 5 anni ago | 1 answer | 0

### 1

Question

Speed-Accuracy Tradeoff calculations in MATLAB
Hi everyone, I was wondering if anyone knows if there already is code or a toolbox in MATLAB for calculating speed-accuracy ...

circa 5 anni ago | 3 answers | 0

### 3

Question

Conversion from char to matrix
Hi everyone, I've a char array that looks like this: numb = [2:4 6:2:12 17 25 26:28 35 37 38:41 46] Is there a way ...

circa 5 anni ago | 1 answer | 0

### 1

Question

Hi everybody, I have had some trouble loading ascii files ending in (.b00). When I write the following: S = load('test.b...

circa 5 anni ago | 0 answers | 0

### 0

Question

How can I add ' ' to each number in a column?
Hi everybody, I have a struct containing names and a number in two separate columns (like findings.labels and findings.number...

circa 5 anni ago | 2 answers | 0

### 2

Question

What type of multiple comparisons is used in multcompare?
Hi everybody, I've used the following function after performing Kruskal Wallis test: c = multcompare(KW_stats(1,1).name)...

oltre 5 anni ago | 1 answer | 0

### 1

Question

Use covariates when performing repeated measures ANOVA
Hi everybody, Is there a way in MATLAB to add covariates to a repeated measures ANOVA like in SPSS? Like gender, age, task or...

oltre 5 anni ago | 0 answers | 1

### 0

Question

Import .b00 file into matlab
Hi everybody, I have a file containing signal from a study in the format of .b00 and I would like to import it to MATLAB. Doe...

oltre 5 anni ago | 0 answers | 0

### 0

Question

Kruskal Wallis test using Matlab - unequal sample sizes
Hi everybody, I'm currently trying to perform Kruskal Wallis test comparing 3 groups with unequal sample size. Does anyone kn...

oltre 5 anni ago | 1 answer | 0

### 1

Question

MATLAB function to perform an unbalanced anova
Hi everybody, I'm trying to do an 2-way repeated measures ANOVA with uneven number of subjects in each group (more pre than p...

circa 6 anni ago | 1 answer | 0

### 1

Question

Create a black line in imagesc plot
Hi everybody, I've created a 15x15 plot with the boxes showing different colors ranging from dark blue to dark red depending...

circa 6 anni ago | 2 answers | 0

### 2

Question

Color ranging from blue, green, and red using fill
Hey everybody, Does anyone know how to plot colors ranging from blue (-1) - green (0) - red (+1)? I'm currently only able to ...

circa 6 anni ago | 2 answers | 0

### 2

Question

How to plot multiple boxes with x and y being names
Hi everybody, Does anyone know how to plot graphs like: <http://people.sc.fsu.edu/~jburkardt/m_src/box_plot/clay.png> ? With ...

circa 6 anni ago | 1 answer | 0

### 1

Question

Notch filtering between 45 and 55Hz?
Hi everybody, I'm wondering whether it is an advantage to notch filter the line noise from 45Hz to 55Hz? Or is it enough to j...

oltre 6 anni ago | 1 answer | 0

### 1

Question

Overlap in the mscohere function
Hi everybody, I'm calculating the magnitude-squared coherence for signals like: [Cxy,F] = mscohere(xdata,ydata,[],noverl...

oltre 6 anni ago | 0 answers | 0

### 0

Question

Theoretical: Why use trapz to calculate absolute power?
Hi everybody, This more of a theoretical question and since I'm not an engineer I apologize in advance for any trouble unders...

circa 7 anni ago | 1 answer | 0