Question

How can I remove certain points of the legend?

Hello, I got a plot with two curves and I use this command: legend('1.Try','2.Try') If I add some significance lines+stars, m...

3 months ago | 1 answer | 0

Question

How to change boxplot filling with newer Matlab versions?

Hello, I would like to change the filling of the boxplots boxplot(y,'Labels',{'1','2','3'},'Color','k') xlabel('X') ylabel(...

3 months ago | 1 answer | 0

Question

How can I change the appearance of the error bars?

Hello, I am trying to change the appearance of the errorbars not the line itself. This is my code and it only changes the style...

3 months ago | 1 answer | 0

Question

How to create an errorbar with each column representing a state?

Hello, I would like to create an errorbar with each column of "test" represents a state (Base value, preperation value, test va...

3 months ago | 1 answer | 0

Question

Calculating with missing values?

Hello, I got a matrix and one value is missing. I still wan to calculate the standard error of it >> test=rand(3,3) test = ...

3 months ago | 1 answer | 0

Question

How can I calculate the standard deviation for a part of "all data"?

Hello, I have a two different matrices: time=[0,0.5,2,4,6] time = 0 0.5000 2.0000 4.0000 6.0000 data=[...

4 months ago | 1 answer | 0

Question

Butterworth filter: Number of coefficients?

Hello I am trying to create a low pass filter. My device has a sample rate of 100 and the cutoff value should be 10 Hz. But ...

4 months ago | 1 answer | 0

Question

How does Matlab work?

Hello, I would like to do this operation: maxi=max(a,[],'all') mini=min(a,[],'all') a=(a-mini)/(maxi-mini) maxi=max(b,[],...

4 months ago | 1 answer | 0

Question

How to avoid 10^3 matrix appearance ?

Hello, if I want to look at the matrix I created matlab shows it to me like this. How can I change it to a not 10^3 output? So ...

4 months ago | 1 answer | 0

Question

How can I create multiple lines with error bars and a legend?

Hello, I got three data sets like this: a=[8,2,3;2,5,2;5,2,4;1,7,4;4,4,5;2,3,3;3,2,6;3,4,5;3,2,4;2,1,3] The first collu...

4 months ago | 0 answers | 0

Question

How can I calculate the mean of a line and put it into a new vector?

Hello, asdasd I got a matrix like this: a(4,3) a= 1 1 3 2 2 4 3 2 3 4 1 4 Now I would like to create another vector wit...

5 months ago | 1 answer | 0

Question

How can I transfer values if specific condition is fulfilled?

Hello, I got a Matrix with different cases: a= (6,6) 0 1 0 2 0 0 0 2 0 1 0 0 0 1 0 2 0 0 0 1 0 2 0 0 0 1 0 2 0 0 0 2 0 1...

5 months ago | 1 answer | 0

Question

How to create a filter with Hz and coefficient?

Hello, I got a very noisy signal and I would like to elimante the noise out of it. According to a paper I should filter the da...

1 year ago | 1 answer | 0

Question

How can I rename a colum? How can I show several matrices/vectors within one Boxplot?

Hello, I got a matrix like this: >> z= rand(4) z = 0.3816 0.4898 0.7547 0.1626 0.7655 0.4456 0.2...

1 year ago | 1 answer | 0

Question

Taking all values of a row if matrix fulfills vector=1

Hello, I got a matrix and a vector like this: >> a= rand(5) >> a= rand(5) a = 0.8147 0.0975 0.1576 0.14...

1 year ago | 1 answer | 0

Question

How can I transfer specific values to a new variable?

Hello, I got a matrix full of values: z= rand(10,4) z = 0.9058 0.9706 0.0357 0.0318 0.1270 0.9572...

1 year ago | 1 answer | 0

Question

How can I select a specific cell?

Hello, I got a matrix like this: z=[0,2,3,4;2,3,4,5;6,7,8,9] z = 0 2 3 4 2 3 4 ...

1 year ago | 1 answer | 0

Question

Howe can I subtract neighboring numbers?

Hello, I got a matrix like this: >> z=[1,2,3,4] z = 1 2 3 4 How can I substract the neighboring nu...

1 year ago | 1 answer | 0

Question

Cell array: How can I calculate the mean of it?

Hello, I got an cell array. You can find it attached. time1, etc. are the times of the different testing. And values are the...

1 year ago | 2 answers | 0

Question

How to find a super high or low value and normalize it?

Hello, I am trying to normalize a series of values. value= 60 65 70 71 70 2 70 1000 4 in this case the following values ...

1 year ago | 0 answers | 0

Question

One matrix for different amount of values

Hello, I would like to have a matrix for the variable time(sec). Basicallly something like this for ten different testing situ...

1 year ago | 0 answers | 0

Question

Calculating an average if specific condition is fulfilled

Hello everybody, I am working on my own project right now and needing some help now. What do I want to do? Matlab should ca...

1 year ago | 1 answer | 0