Community Profile

photo

Laura


University of Florida

Active since 2013

Statistics

  • First Review
  • Thankful Level 2
  • Knowledgeable Level 1
  • First Answer

View badges

Content Feed

View by

Question


Phase shift in domain from FFT for multiple signals
I have multiple signals that have the peak at different locations so I want to align them up accordingly and then add them toget...

5 years ago | 0 answers | 0

0

answers

Question


Generate poisson random number with a mean and standard deviation
I want to generate poisson random number with a mean of 1 and standard deviation of 0.2 for 60 numbers. I could not find anywher...

5 years ago | 1 answer | 0

1

answer

Question


Generate different radius size of particle from normal distribution and assign that radius to specific x-y coordinate
I want to generate random particle radius with normally distribution (Gaussian) for 50 particles with a mean of 1 and variance...

5 years ago | 1 answer | 0

1

answer

Question


Extract number on variable name.
My variable name is Final_50000_run_1 Is there a way to extract the number 50000 and 1 out. Thanks.

5 years ago | 2 answers | 0

2

answers

Answered
insert 0 in the each 3N location
B=zeros(1,3*N) for i=1:N B(1,3*i-2) = A(1,2*i-1); B(1,3*i-1) = A(1,2*i); end

5 years ago | 0

| accepted

Question


saving data that calculates in the loop
Hi everyone I want to save the value 'ang' in my code as shown below. I want to look for particles that in the distance from ...

5 years ago | 0 answers | 0

0

answers

Question


Calculating angles between two points in 3D that is measured from positive x-direction
<</matlabcentral/answers/uploaded_files/51342/image.png>> I have multiple points that I need to calculate the angle between t...

5 years ago | 1 answer | 1

1

answer

Question


save the value in side the function file
I have 3 m-files let say: function [f]=fun(g) Myy=20*x^2; % Assume we know x matrix f=Myy; the 2nd file is ...

6 years ago | 2 answers | 0

2

answers

Question


How to slice 3D object
I have a cubic box with dimension of 1 x 1 x 1 with 100 spheres inside this box. I know the coordinate of x,y,z and radius of e...

6 years ago | 1 answer | 0

1

answer

Question


How to compute the multiplication between matrix and matrix in different file
I have data that saves with different names such as data_1, data_2, etc... data_1 will have a matrix A with dimension of 11...

6 years ago | 1 answer | 0

1

answer

Question


Generate random circles in the square box with different diameters
I was able to generate random circles inside the square box of dimension L=1 with the same diameter without overlapping, where X...

6 years ago | 2 answers | 1

2

answers

Question


Subtraction between the rows of matrix
I have a matrix A which is 880x100 and I want to do the subtraction between row to row. For example A= [ 1 1 1 1 ;2 2...

7 years ago | 2 answers | 0

2

answers

Question


Delete the row of matrix
I want to delete multiple rows of matrix. For example, Matrix A contains X in the first column, and Y in the second colum...

7 years ago | 1 answer | 0

1

answer

Question


Using polyfit to fit power function including the initial point x=0
I want to find the equation for data points that are given below x= [ 0 0.0005 0.001 0.005 0.01 0.05 0.1]; y=[0.43 0.47 ...

7 years ago | 3 answers | 0

3

answers

Question


Data point in dimension
tic; % Generate the same random number for the same seed number. rand('seed',20001); % Number of data point N...

8 years ago | 1 answer | 0

1

answer

Question


Using lsqcurvefit without knowning the function
This is what I understand from the matlab help x = lsqcurvefit(@myfun,x0,xdata,ydata) function F = myfun(x,xdata) F = ...

8 years ago | 1 answer | 0

1

answer

Question


Lsqcurvefit for 2 parameters
I read over the lsqcurvefit for one parameter. x=lsqcurvefit(fun,xo,xdata,ydata) where xo= initial x, fun is the funct...

8 years ago | 1 answer | 0

1

answer

Question


Calculate the error for many time steps in the same file ( Only work for one time step )
I want to calculate the error for my data at different time step (dt) in one file. If I tried one time step, dt, then it works....

8 years ago | 1 answer | 0

1

answer

Question


How do I generate the random number inside the annulus
Hi everyone, I want to generate 50 particles inside the gap between two circles. The small circle has radius of 5 and the ou...

8 years ago | 2 answers | 0

2

answers

Question


Rotate the all center positions in the certain angle
I have 4 data points with x and y coordinates and I want to rotate them at certain angle in counterclockwise or clockwise. As...

8 years ago | 2 answers | 0

2

answers

Question


choose data points that nears each other and store in different matrix
I have a matrix A that has dimension n x 2. A(:,1) is x-values and A(:,2) is y values. Choose the the pairs that is ne...

8 years ago | 1 answer | 0

1

answer

Question


Set a bin to count the data points for certain conditions
Hi there, I want to count the number of data values that are in this conditions if it satisfies both conditions then coun...

8 years ago | 1 answer | 0

1

answer

Question


plot and calculate error bar
I want to calculate and plot error bar of this data X=40:1:225; Y =0;0; 0...... Y is the results from calculating. ...

8 years ago | 1 answer | 0

1

answer

Question


Remove close value for matrix
I have a matrix A with has dimension n x3 I want to remove the data values that are so close to certain value or repeated....

8 years ago | 2 answers | 0

2

answers

Question


Delete repeated row in matrix
I have a matrix A that has n x 3 dimension. Assume A = [1 1 1; 2 2 2 ; 3 3 3; 1 1 1; 4 4 4] as you see that the fir...

8 years ago | 2 answers | 0

2

answers

Question


Calculate the angle between multiple points
I have a matrix A contain x values in the first column and y values in the second column. I want to calculate the angle between ...

8 years ago | 2 answers | 0

2

answers

Question


Select the data point in this range
I have a data point (x,y) that generates inside a cell -50 to 50 in the x- direction and the same with y. Now I only want to ...

8 years ago | 1 answer | 0

1

answer

Question


how to convert matrix A 1 x 200 into 100 x2
I have a matrix A=( x1 y1 x2 y2....) Now I want all the value of x in one column and y in one column. I had been tried ...

8 years ago | 2 answers | 0

2

answers