Question

get continuous data in while loop through serial

Hello, I need help with reading data from serial. Basically I have arduino that sends data "0" or "1" randomly every 2-4 sec...

1 year ago | 1 answer | 1

Question

How to get first value of an array with condition

I need to get the first value of a matrix (x2 below) that I initially put condition to, for example: x1 = Data{i}.Error(...

2 years ago | 1 answer | 0

Question

MATLAB Editor bounce left when scrolling

I have this weird problem since changing to either R2017b. I wonder how can I solve this because it is getting really annoying n...

3 years ago | 0 answers | 0

Question

How to properly extract data from text file.

I have a data in a text file that looks basically like this: LineType: 1 PlayMode: Single GameType: OneBalloon Lin...

3 years ago | 2 answers | 0

Question

[p,S] = polyfit(x,y,n); how to get S manually

I am trying to get the value of S same as the output from polyfit so that I can calculate the value of confidence interval using...

3 years ago | 1 answer | 0

Answered

Tracking 3d gait from accelerometer data

What do you mean by "rebuild the step gait combining the result for each axis"? Usually you would do double integration on al...

Tracking 3d gait from accelerometer data

What do you mean by "rebuild the step gait combining the result for each axis"? Usually you would do double integration on al...

4 years ago | 0

Question

How to combine the name of struct together

I am trying to add data into few struct with different name, say if k = 'TD', put data into Data.TD(i).somethi...

4 years ago | 1 answer | 0

Question

Ranksum test U value

I need to report the U value of the ranksum test in my paper, but I am not sure what command for me to use to get this value in ...

4 years ago | 1 answer | 0

Question

how to change the axis line color white but maintain the font color black?

<</matlabcentral/answers/uploaded_files/62099/ignore-outliers-in-ggplot2.png>> I am trying to get a graph look like this, but...

4 years ago | 3 answers | 0

Question

Why isn't there any simple command to create a grouped boxplot in MATLAB yet?

I am trying to plot a grouped boxplot on MATLAB but surprisingly Excel can do better!Can anyone suggest the best way to create a...

4 years ago | 1 answer | 0

Question

Rotate the plot at 45 degree

<</matlabcentral/answers/uploaded_files/60204/Screen%20Shot%202016-09-29%20at%2010.59.43.png>> Can anyone tell me how to rota...

4 years ago | 2 answers | 0

Question

Calculating linear fit with respect from origin (0,0)

I have a data of DataX and Data Y, which is plotted in the blue line as in picture.I am trying to analyse how much the blue line...

4 years ago | 1 answer | 0

Question

Calculate difference in Euler angle

Hello. I have a set of Euler data (yaw, pitch roll). I need to calculate the *relative differences* in the, for example, the *ya...

4 years ago | 1 answer | 0

Question

converting to cell to matrix- not working

I have a cell as in the picture below 10 columns of {35x1} <</matlabcentral/answers/uploaded_files/52473/Screen%20Shot%20...

4 years ago | 1 answer | 0

Question

how to check the direction of a plot (monotonicity)

I would like to check the percentage of data going forward instead of going backward in a data. For example in the following ima...

4 years ago | 1 answer | 0

Question

Standard deviation across plots

<</matlabcentral/answers/uploaded_files/45382/Screen%20Shot%202016-02-15%20at%2011.34.46.png>> I am trying to do an analysis ...

4 years ago | 1 answer | 0

Question

using ismember function column by column

let say i have this code: VoidSubject = [1, 3, 6]; VoidTrial = [2, 3, 5]; for subject = 1:20 for trial = 1:10 ...

4 years ago | 1 answer | 0

Question

taking multiple column to form a struct

hello, I have a data set from text file, which is a 1x 13 size file. first I diff the data only to take the value of the data fr...

5 years ago | 1 answer | 0

Question

How to use unique function to get data only when the number in one row increases

Hello, I am trying to figure out on how to extract data only when the number in one of the row increases; for example: a...

5 years ago | 1 answer | 0

Question

Plotting radar plot in matlab like the one in excel

hello, i have been looking around for ages about this. there's a function in excel where i can plot data in circle. for examp...

5 years ago | 2 answers | 0

Question

how to detect point before it went on plateau

Hello everyone, I am new to matlab and I am doing a force analysis. I would like to detect a point in matlab before it went on a...

6 years ago | 1 answer | 0

Question

How to find number of times graph goes back to zero

Hello everyone, I am new to MATLAB and I am currently plotting a normalised gyroscope data as in the picture below, and I am try...

6 years ago | 1 answer | 0