Community Profile # Laura

### University of Florida

Active since 2013

#### Statistics

• • • • #### 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...

meer dan 6 jaar ago | 0 answers | 0

### 0

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...

meer dan 6 jaar ago | 1 answer | 0

### 1

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...

meer dan 6 jaar ago | 1 answer | 0

### 1

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.

meer dan 6 jaar ago | 2 answers | 0

### 2

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

meer dan 6 jaar 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 ...

meer dan 6 jaar ago | 0 answers | 0

### 0

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...

bijna 7 jaar ago | 1 answer | 1

### 1

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 ...

meer dan 7 jaar ago | 2 answers | 0

### 2

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...

meer dan 7 jaar ago | 1 answer | 0

### 1

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...

bijna 8 jaar ago | 1 answer | 0

### 1

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...

bijna 8 jaar ago | 2 answers | 1

### 2

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...

bijna 8 jaar ago | 2 answers | 0

### 2

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...

bijna 8 jaar ago | 1 answer | 0

### 1

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 ...

meer dan 8 jaar ago | 3 answers | 0

### 3

Question

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

bijna 9 jaar ago | 1 answer | 0

### 1

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 = ...

ongeveer 9 jaar ago | 1 answer | 0

### 1

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...

ongeveer 9 jaar ago | 1 answer | 0

### 1

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....

meer dan 9 jaar ago | 1 answer | 0

### 1

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...

meer dan 9 jaar ago | 2 answers | 0

### 2

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...

meer dan 9 jaar ago | 2 answers | 0

### 2

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...

meer dan 9 jaar ago | 1 answer | 0

### 1

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...

meer dan 9 jaar ago | 1 answer | 0

### 1

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. ...

meer dan 9 jaar ago | 1 answer | 0

### 1

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....

meer dan 9 jaar ago | 2 answers | 0

### 2

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...

meer dan 9 jaar ago | 2 answers | 0

### 2

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 ...

meer dan 9 jaar ago | 2 answers | 1

### 2

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 ...

meer dan 9 jaar ago | 1 answer | 0