null

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

5 meses ago | 2 answers | 0

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

alrededor de 1 año ago | 0 answers | 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...

más de 1 año ago | 1 answer | 0

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

casi 2 años ago | 1 answer | 0

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

casi 2 años ago | 1 answer | 0

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

alrededor de 2 años ago | 1 answer | 0

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

alrededor de 2 años ago | 2 answers | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 1 answer | 0

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

más de 2 años ago | 3 answers | 0

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

casi 3 años ago | 1 answer | 0

Question

Problems loading ascii file (.b00)

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

casi 3 años ago | 0 answers | 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...

casi 3 años ago | 2 answers | 0

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

alrededor de 3 años ago | 1 answer | 0

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

alrededor de 3 años ago | 0 answers | 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...

alrededor de 3 años ago | 0 answers | 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...

alrededor de 3 años ago | 1 answer | 0

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

más de 3 años ago | 1 answer | 0

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

más de 3 años ago | 2 answers | 0

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

más de 3 años ago | 2 answers | 0

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

casi 4 años ago | 1 answer | 0

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

más de 4 años ago | 1 answer | 0

Question

Overlap in the mscohere function

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

más de 4 años ago | 0 answers | 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...

más de 4 años ago | 1 answer | 0

Question

Imaginary part of mscohere

Hi everybody, Is there a way to extract the imaginary part of the coherence when using mscohere? I can't find the original co...

más de 4 años ago | 1 answer | 0

Question

Creating sigstar in bar graph

Hi everybody, I'm trying to create a significant star between two bars (the values 0.1423 and 0.3203) in a bar graph like: ...

más de 4 años ago | 1 answer | 0

Question

Corrected and adjusted values with FDR

Hi everybody, I've recently been using the FDR function found in MATLAB central: <http://www.mathworks.com/matlabcentral/fil...

más de 4 años ago | 0 answers | 0

Question

How can I split a matrix with connection data?

Hi everybody, I have a matrix (18x18) with connection results (first, meaning that I have the values one (1) in all coordinat...

casi 5 años ago | 1 answer | 0

Question

Change input name when running a script

Hi everybody, I'm trying to change the input name but I can't get it to work. Basically, what I want to do is changing the au...

casi 5 años ago | 2 answers | 0