Question

Plotting bar graph for loop values

I am trying to make a barplot of the values in vector's 'count_gn', 'count_bn', 'count_hn' and 'count_ar' as a seperate subplots...

8 Tage ago | 0 answers | 0

Question

Keeping plot titles in desired location

Hi, I am trying to keep the title of the plot towards the right side of the the figure rather than on the top. I wrote a code fo...

10 Tage ago | 1 answer | 0

Question

Making video from an animation

I am plotting few graphs and trying to make movie out of it. The code runs without error. But unfortunately the video is not sav...

18 Tage ago | 1 answer | 0

Question

Plotting elements corresponding to a matrix

I have a matrix as shown below. NaN 5.0000 5.0000 6.0000 6.0000 7.0000 7.0000 0.2000 26.00...

21 Tage ago | 1 answer | 0

Question

Plotting multiple object trajectories together with their identity

Hi, I have a matfile 'a' which have the time in the first column, identity of objects from the first row of second column till ...

21 Tage ago | 1 answer | 0

Question

Shading specific regions in a plot

Hi, I have a plot as attached in the picture. I would like to shade a specific portion of the plot and add labels to it. For eg:...

3 Monate ago | 1 answer | 0

Question

Making plots look beautiful

Hi, I made a plot which displays the condition of cars of a particular brand overtime. What i would like to do is to make the p...

3 Monate ago | 2 answers | 0

Question

Organising cells from a cell array

Hi, i have a cell array 'a' which is of the form as shown below. I wanted to remove the empty cells from the cell array keep the...

4 Monate ago | 1 answer | 0

Question

Filtering data based index from a cell.

Hi, I have a matfile as attached. There are cells in the first column and within each cell, i have some data. What if i want to ...

4 Monate ago | 1 answer | 0

Question

Calculating arc length of segments using interparc

Hi, I was using 'interparc' function to divide an arc in to 'n' number of equal segments. I expected each segment to give me eq...

5 Monate ago | 0 answers | 0

Question

Implementing interparc function for dividing arc to segments

I want to divide an arc to equal segments. I found a function called as https://in.mathworks.com/matlabcentral/fileexchange/3487...

5 Monate ago | 0 answers | 0

Question

Dividing an arc to a segment and comparing straightness among segments

I have a line segment as shown in the figure. What i want to do is to divide the line segments in to 'n' equal sections and calc...

5 Monate ago | 0 answers | 0

Question

How to interpret statistics from glmfit

I did a logistic regression for binomial data and the stats obtained are attached with this. I am getting avery hard time to und...

5 Monate ago | 1 answer | 0

Question

Choosing bin size to include equal number of data points

I have 'time' of certain event to happen in first column and the 'probability of event to happen' in the second column. If i wan...

5 Monate ago | 0 answers | 0

Question

Counting the number of elements of a vector found between a range in another vector

I have a column which contains a range of values in a column 'Range' and another vector containing specific values in a column ...

6 Monate ago | 2 answers | 0

Question

Displaying time in the figure window

I have the data of time and coordinates of an object moving in a plane. What if i want to display the time coorresponding to the...

6 Monate ago | 0 answers | 0

Question

Merging two figures to a single figure

I have two figures as shown. What should i do if i want to merge both of the figures in to a single figure?

6 Monate ago | 1 answer | 0

Question

Seperating values from a category and plotting

I have made a group scatter plot for two categories/groups as shown in the figure. But i am not able to distinguish the red dots...

6 Monate ago | 0 answers | 0

Question

Calculating arc length of a curve

I have the trajectory for an object moving on a plane as shown in the figure. Can any one give me an idea to calculate the arc l...

6 Monate ago | 1 answer | 0

Question

Unique labelling of elements in scatter plot

Hi, I am trying to make a scatter plot with multiple groups 'forVisit' and ''. What if i want to highlight each 'X' and '0' base...

6 Monate ago | 0 answers | 0

Question

Converting video time to seconds

Hi, I have some time observations from video. They are in the format of time = [1.21, 1.5, 2.3, 2.5]. If i want to convert them ...

6 Monate ago | 0 answers | 0

Question

Using ismember to get the corresponding elements

Hi, I am using a function to convert the time to seconds based on specific input. 'time_data_observation_entry,real_time_vec,fra...

6 Monate ago | 2 answers | 0

Question

Calculating curviness of X and Y coordinates

Hi, I have the trajectory of a moving object in a plane. I would like to calculate the curvature of this trajectory (how wiggly ...

6 Monate ago | 0 answers | 0

Question

Plotting trajectories for each time step

I have the trajectory of an object moving in a plane with the time of detection, X and Y coordinates of the object. I am able to...

7 Monate ago | 1 answer | 0

Question

How to reduce the space between Yticks?

Hi, I am plotting a scatter plot with two groups on the Y axis. I want to reduce the distance between these groups in the plot a...

7 Monate ago | 1 answer | 0

Question

Making plots in matlab

Can anyone give an idea on how to make this type of plot? <</matlabcentral/answers/uploaded_files/139705/IMG_20181105_172240_...

7 Monate ago | 1 answer | 0

Question

Indicating statistical significance on boxplot in matlab

I am plotting two boxplots with my sample data sets in matlab. I wanted to put a star sign between the boxplots indicating the s...

7 Monate ago | 1 answer | 0

Question

Checking if two box plots are significantly different or not.

I made a boxplot in matlab for my sample data sets. What i want to see if the data is if the sample data is significantly differ...

7 Monate ago | 0 answers | 0

Question

Simulating a robotic action

I am doing a simple simulation. I have three stages a robot can be 'Search','Assess' or 'Recruit'. If the robot is in any of the...

7 Monate ago | 1 answer | 0

Question

Sort with respect to identical elements in a column.

I have a matrix as shown below. The first column contains identity of objects and the second and third column corresponds to the...

7 Monate ago | 1 answer | 0