Question


making two columns from a row vector
I have a row vector of size 1 x 600; I want to create a two column vector such that elements 1 and 2 of the row vector are i...

6 years ago | 1 answer | 0

1

answer

Question


combining matrices by replacing zeros
I have two matrices of the same length; A = [1 ,0, 2, 0, 3, 0, 5]; B = [0, 2, 0, 3, 0, 5, 0]; I want to be 'combine' t...

6 years ago | 1 answer | 0

1

answer

Question


for loop with exceptions
I wanted to run the loop for even = 2:2:26 but I don't want to include 4. how do i say this?

6 years ago | 2 answers | 0

2

answers

Question


error when plotting in 3 dimensions
I am attempting to plot a plane in three dimensions, but my matlab (2013b) returns an error message: libGL error: No matchin...

6 years ago | 0 answers | 0

0

answers

Question


plotting a plane in three dimensions including data points
Hi, I have a plane obtained via regression. Let's say this is z = 2x + 3y + 4. I want to plot this plane AND the data points...

6 years ago | 2 answers | 0

2

answers

Question


I want to stabilize a moving drone video
I have a moving drone video, and I want to stabilize this video so I can perform tracking. Does matlab have any functionality (t...

6 years ago | 0 answers | 0

0

answers

Question


Why is the graph of the parametric equation like this
I am graphing r = [5cost, 5sint] from t = 1:3000. I was wondering why the graph shown is an annulus instead of a circle? I graph...

6 years ago | 1 answer | 0

1

answer

Question


fitting a sum of two lognormal distributions to data.
I have a data set (in the form of a histogram) with a first peak that appears near zero. The second, lower peak appear later. ...

6 years ago | 0 answers | 0

0

answers

Question


fitting a lognormal curve into a histogram
Hi, I have a histogram that looks like the one below. I want to fit a lognormal curve (I think a sum of two log normal curve...

6 years ago | 1 answer | 0

1

answer

Question


error message from an example on histogram
I am trying out an example in the MatLab documentations page: https://www.mathworks.com/help/matlab/ref/histogram.html The...

6 years ago | 1 answer | 0

1

answer

Answered
error message: unexpected record length
I am using a mac, with matlab 2013b. I havent completely scanned the file, but I don't know where I could have placed a speci...

6 years ago | 0

Question


error message: unexpected record length
I have an excel file 65000 x 4 which is already saved as .xls (as opposed to .xlsx). I cannot read the file because of the above...

6 years ago | 2 answers | 0

2

answers

Question


putting an exception in the plot command
Hi. I am plotting columns 1:20 except 5:7, how can I put in the plot command? Thanks

6 years ago | 1 answer | 0

1

answer

Question


plotting multiple graphs in different colors with a single command
Hi, I have a matrix of size 500 x 11, each column represents a particle evolving over time (rows). I want to plot all part...

6 years ago | 1 answer | 0

1

answer

Question


question about the signal smoothing example
Hello, I have a question about the signal smoothing example given in the documentation of Matlab. load bostemp days...

7 years ago | 1 answer | 0

1

answer

Question


putting error bars/standard deviation in my graphs
Hi. I have a data of 600 timesteps from 6 different channels in a matrix X. This means the size of X is 600 by 6. I plan to ...

7 years ago | 0 answers | 0

0

answers

Question


graphing the paths of multiple particles in the same 3d cube?
<</matlabcentral/answers/uploaded_files/79833/Screen%20Shot%202017-06-07%20at%2021.43.03.png>> Hi, I would like to graph ...

7 years ago | 2 answers | 0

2

answers

Question


generating 2d random walk
I would like to generate a 2d continuous random walk starting from (0,0). How do I do this? I am tempted to just generate random...

7 years ago | 0 answers | 0

0

answers

Question


a question on ode23 solver
Hi, I am using ODE23 solver in Matlab. After inputting the following t = linspace(0,10); y0 = 0.5; u = 1.0; ...

7 years ago | 1 answer | 0

1

answer

Question


level of significance using xcorr
Hello, The xcorr function in Matlab returns the maximum correlation coefficient of two univariate time series data with thei...

7 years ago | 1 answer | 1

1

answer

Question


significance levels of cross correlations
Hi, I was asked to find the significance values (p values) of my cross correlations. It is my first time hearing this. Has a...

7 years ago | 1 answer | 1

1

answer

Question


piecewise function evaluation using if-else statement
Hi, I have this code for a 'piecewise function' to be evaluated. t = -10:0.01:10; if t<0 F(1,:) = 2.*t; else...

7 years ago | 3 answers | 0

3

answers

Question


why are values returned by xcorr not within [-1,1]?
I am using [r, lags] = xcorr(y1,y2) where y1 and y2 are two time series data. I would like to know the meaning of the values...

7 years ago | 1 answer | 0

1

answer

Question


fixing a background from a drone movie file
I was able to get a movie file from a drone showing moving things on a prairie. The thing is, since the movie was shot on a dron...

7 years ago | 0 answers | 0

0

answers

Question


tracing the path of a moving particle in using plot
Hi, I want to track the motion of a particle from start to end by tracing its path from start to finish. The particle is moving ...

8 years ago | 1 answer | 0

1

answer

Question


error message "you might need a Statistics and Machine Learning Toolbox"
I am using the following function in two computers, random('Normal',0,100,nstates,nactions) This generates a random n...

8 years ago | 1 answer | 0

1

answer

Question


"converting" randit to randi
I have this function a = randint(1,1,actions)+1; actions = [-1, 0 ,1]; It is not working in R2013b, so I am guessin...

8 years ago | 1 answer | 0

1

answer

Question


Finding the output of this command
The variable 'state' is a 60 x 2 matrix. xdiv = (0.55-(-1.5))/10; x = -1.5:xdiv:0.5; What does the command ...

8 years ago | 1 answer | 0

1

answer

Question


taking the average of data from 500 different files
Hi, I have 500 different files in sequential filenames in the following format: datafile_XX.mat All of these files contai...

8 years ago | 1 answer | 0

1

answer

Question


analyzing sequential files efficiently
I have 500 sequential files whose filename is in the form "datafile_XX.mat". Each file contains an n by 8 matrix where n varies ...

8 years ago | 0 answers | 0

0

answers

Load more