photo

Laura


University of Florida

Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Statistica

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

Visualizza badge

Feeds

Visto da

Domanda


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

circa 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 8 anni fa | 1 risposta | 0

1

risposta

Domanda


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.

oltre 8 anni fa | 2 risposte | 0

2

risposte

Risposto
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

oltre 8 anni fa | 0

| accettato

Domanda


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

oltre 8 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 8 anni fa | 1 risposta | 1

1

risposta

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 9 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 9 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 10 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

circa 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 11 anni fa | 2 risposte | 1

2

risposte

Domanda


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

oltre 11 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 11 anni fa | 2 risposte | 0

2

risposte