**Statistics**

RANK**5,659**

of 247,156

REPUTATION**6**

CONTRIBUTIONS

**27** Questions

**1** Answer

ANSWER ACCEPTANCE **
74.07%
**

VOTES RECEIVED**2**

RANK

of 17,234

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answersinsert 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

answersQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

answerQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

answerQuestion

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

answerQuestion

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

answerQuestion

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

answersQuestion

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

answersQuestion

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

answersQuestion

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

answerQuestion

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