Top 5% contributor
I was able to generate random circles inside the square box of dimension L=1 with the same diameter without overlapping, where X...
Asked 9 months ago
I have a matrix A which is 880x100 and I want to do the subtraction between row to row.
A= [ 1 1 1 1 ;2 2...
I want to generate 50 particles inside the gap between two circles. The small circle has radius of 5 and the ou...
Asked 2 years ago
I have 4 data points with x and y coordinates and I want to rotate them at certain angle in counterclockwise or clockwise.
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....
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 ...
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
I want to delete multiple rows of matrix.
Matrix A contains X in the first column, and Y in the second colum...
Asked 10 months ago
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 ...
Asked 1 year ago
% Generate the same random number for the same seed number.
% Number of data point
This is what I understand from the matlab help
x = lsqcurvefit(@myfun,x0,xdata,ydata)
function F = myfun(x,xdata)
F = ...
I read over the lsqcurvefit for one parameter.
where xo= initial x,
fun is the funct...
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....
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...
I want to count the number of data values that are in this conditions
if it satisfies both conditions then coun...
I want to calculate and plot error bar of this data
Y =0;0; 0......
Y is the results from calculating.
I have a matrix A that has n x 3 dimension.
A = [1 1 1; 2 2 2 ; 3 3 3; 1 1 1; 4 4 4]
as you see that the fir...
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 ...
I have 3 m-files
Myy=20*x^2; % Assume we know x matrix
the 2nd file is
Asked 4 months ago
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...
Asked 6 months ago
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...
Asked 8 months ago