Community Profile

# Tesla

Last seen: 4 days ago Active since 2020

#### Content Feed

View by

Question

How to avoid "fill" plot problem in boundaries
I am trying to make an animation of my data, using fill function instread of plot. but when I use fill I got this problem in my...

21 days ago | 0 answers | 0

### 0

Question

Find the relaxation Time from data set
I am trying to find the relaxation time for this data set (x,y). I tried fiting my data using this function, assuming that b is...

4 months ago | 1 answer | 0

### 1

Question

find fitting equation and parameters to fit damped oscillations curves from set of data
I am trying to fit my data (bellow) to a damped oscillations curve, I can't determine the fitting equation, because it's not eas...

4 months ago | 1 answer | 0

### 1

Calculate the largest, smallest diameter and the centroid of a polyshape (irregula rpolygon) from a set of points
I got an error in this line [~,xmin,ymin]=fun(thetamin); [~,xmax,ymax]=fun(thetamax); Unrecognized function or variable.

5 months ago | 0

Question

Calculate the largest, smallest diameter and the centroid of a polyshape (irregula rpolygon) from a set of points
I have a set of points (x,y) for a polyshape (almost 120 coordinates), I want to find the largest, smallest diameter and the ce...

5 months ago | 1 answer | 0

### 1

Question

Add legend for a specific plot
I trying to show the legend just for l1, l2 and l3, but when i write legend it show all other legends how can I show just what ...

8 months ago | 1 answer | 0

### 1

Question

Plot multi curve in one figure
I am trying to plot many curve in one figure with different color and size. But when I am trying to do that I got strange error...

8 months ago | 1 answer | 0

### 1

Question

fit scatter plot to a curve
I want to fint those scatter points to a curve. I tried using lsline but seems not working, i tried also with polyfit. here my...

8 months ago | 1 answer | 0

### 1

Question

Fit data with a given equation for 3 variables
I want to fit my data to the following equation, but I dont know how to force the program to take the b values which i have, ins...

8 months ago | 2 answers | 0

### 2

Question

Fitting data with custom equation and custom interval
I am trying to fit my data using the following code, but I couldnt find what is the problem in my code. fy = @(a,b,x) 0.001*((a...

8 months ago | 1 answer | 0

### 1

Question

Plotting Multiple Box plot in same graph same x axis
I have a data for 5 samples, and for 3 months. I want to plot 5 box plots for every months. Which means in X-axis I will have J...

11 months ago | 2 answers | 0

### 2

Question

Find the file number when a condition meets
I have for example 300 files (data1.dat data2.dat data3.dat ...), and inside every file I have for example two columns...

1 year ago | 1 answer | 0

### 1

Question

Find the index of an interval of values in cell array
I have a cell array 1X500, and inside evey cell 6000 value. I want to find the index on the values (it has to be between 1 and ...

1 year ago | 1 answer | 0

### 1

Question

Probability density function for binary data
I have data for the index of each point: 0 for the point outside particle, 1 for the points inside particle. How to calculate c...

1 year ago | 1 answer | 0

### 1

Question

Calculate error propagation from two dataset arrays
I want to calculate the error propagation from two different datasates. F1=(a1, a2, a3,.....an) F2=(b1, b2, b3,.....bn) The e...

1 year ago | 0 answers | 0

### 0

Question

Multiply cell by cell
I trying to muliply cell by cell. Every cell has dimension 1001x1 and inside every cell I have 67x335 double. So I want to mul...

1 year ago | 1 answer | 0

### 1

Question

Loop code for many data files and save
I wrote this code, which load a file text2.dat, to use its data to calculate velocity. I have many files text3.dat test4.dat......

1 year ago | 1 answer | 0

### 1

Question

Read data from two data files and save them organized into multiples files
I want to write a code that reads X coordinates from x.dat and Y coordinates from y.dat, then save X Y coordinates for each part...

1 year ago | 1 answer | 0

### 1

Question

Apply my calculation for all data file
I wrote this code to calculate the mass centre and save it, taking X and Y cordinate from multiple files. But my code is workin...

1 year ago | 1 answer | 0

### 1

Question

Extracting X and Y binary data to simple X Y file
I am trying to extraxt X and Y coordinates form a binary file. I want to generate a text file X and Y cordinates in every itte...

1 year ago | 1 answer | 0

### 1

Question

make matlab read the files in order?
I am using a code to read and calculate mass center. but the code read file with this oder: Now reading C:\Users\shape_01.dat ...

2 years ago | 2 answers | 0