Community Profile

# friet

Last seen: 1 year ago Active since 2014

#### Content Feed

View by

Question

Saving Multiple matlab files using print
Hello I am using this to save a multiple figures in ps format. for i=1:14 print(figure(i), '-append', '-dpsc2', 'd:Myf...

1 year ago | 1 answer | 0

### 1

Question

Area between two curves that plotted by importing datapoints
Hello I have two curves imported from excel and ploted as shown in the figure below. How can I calculate the red area between ...

2 years ago | 0 answers | 0

### 0

Question

How to organize large column in to small Commons.
Hello I have a large col vector in matlab with size of ~10000. I would like to cut the col at every 100 point as you see it bel...

4 years ago | 1 answer | 0

### 1

Question

plotting non-linear equation
Hello matlab, I have this equation y*x= 1+ ln(y/x); x varies from 0 to 1. Is there any way to plot x vs y? Best

4 years ago | 1 answer | 1

### 1

Question

Time constant of exponential decay
Hello Matlab, I have those two equations of exponential decay with time constant of the first one tu1=3800 sec. I plot those ...

5 years ago | 2 answers | 0

### 2

Question

how to find the index of a vector.
i have a vextor x with 1000 rows. I would like to find the index of x where the values of xsrt are located. xsrt=[ -84.5 -4...

5 years ago | 1 answer | 0

### 1

Question

num2str in for loop assignment
I have a matrix output(100,100) imported in matlab. I would like to creat a vector that saves every 10 col. forexample Ou...

5 years ago | 2 answers | 0

### 2

Question

fitting to a power function with an additional constant
Hello Matlab! I have this dataponits t and y. I want to fit those data points to a function y=a(t+c)^b, and get the parameters...

5 years ago | 1 answer | 0

### 1

Question

Derivative of unequally spaced data points without decreasing the length of a vector?
Hello Matlab, I have data ponts that are not equally spaced x=[0.097 0.477 0.934 4.835 15.590 46.645 6...

5 years ago | 1 answer | 0

### 1

Question

How to designed a filter and smooth a signal.
Hello I have a measured signal and I am trying to filter out the noise. I design a low-pass filter. I try to compare the filter...

5 years ago | 0 answers | 0

### 0

Question

how to sutract specific elements in a long array?
Hi Suppose I have x=[ -0.401993355481728 -0.398671096345515 -0.395348837209302 -0.392026578073090 -0.38870431...

5 years ago | 1 answer | 0

### 1

Question

Difference between cumsum and cumtrapz to find area under a curve?
Hello I want to find the area under the curve plotted below. I am trying to figure out why the cumsum and sumtrapz are not gi...

5 years ago | 2 answers | 1

### 2

Question

I have two functions alpha1 and alpha 2. I want to calculate beta1 and beta 2 by solving the equation below. alpha=-gradient(...

5 years ago | 0 answers | 0

### 0

Question

space and frequency dependent function inverse fourier transform(IFFT)
Hello I have a function which is position and frequency dependent. I want to plot this function as position and time. So I ca...

5 years ago | 0 answers | 0

### 0

Question

Two line simple animation
Hello, I have the following two lines plot. I want to animate both plots at the same time. I want to start from time 0 to tim...

5 years ago | 2 answers | 0

### 2

Question

axis labels in 3D mesh
Hello, I have a question about axis label position. In my figure below, the position of the labels is a little bit not well ali...

5 years ago | 1 answer | 0

### 1

Question

differentiation with respect to space
Hello I am doing differentiation with respect to space. I have a function y which is x^2. x is my coordinate. I want to differe...

5 years ago | 1 answer | 0

### 1

Question

Filtering data points and smoothing
Hello I have a filter designed to filter out some noisy datapoints. My filter works well from 100-10000 in x -axis. However, at...

5 years ago | 1 answer | 0

### 1

Question

Fitting to an exponential function from row datas
I have a function y dependent on t. I want to fit it to a function of y=a*exp(-b/t) and determine the variables "a" and "b". I w...

5 years ago | 1 answer | 0

### 1

Question

How to solve equation with "Error using symengine A square matrix is expected",
Hello My code below written to solve an equation works well with a single input parameter d (line 8). However, when I have a ...

5 years ago | 1 answer | 1

### 1

Question

solving non-linear equation
Hi I am solving for x in this equation. <</matlabcentral/answers/uploaded_files/73432/zz.PNG>> where J1 is Bessel fun...

5 years ago | 1 answer | 0

### 1

Question

Error using integral (line 85) A and B must be floating point scalars
Hello, I have a function below. I have successfully integrated it when the value of d=0.5. However, I want to integrate it fo...

5 years ago | 1 answer | 0

### 1

Question

Accuracy of integral function.
Hi I am solving a long equation with q,k,phi,D are constants and x variable. I am using the the matlab keyword "integral" t...

6 years ago | 2 answers | 0

### 2

Question

Fourier transform of impulse function
I calculated the Fourier transform of a pulse function(figure 1) Using the fft function. However The fft result if kind of weird...

6 years ago | 2 answers | 0

### 2

Question

fourier transform space dependent function
Hello folks, I am calculating the inverse Fourier transform of the equations below. alpha and beta are two frequency depend...

6 years ago | 1 answer | 0

### 1

Question

Two variable function computation
Hello, I am trying to reproduce the Matlab plot I found in a research paper. The function in P(t,z) (it is time and space dep...

6 years ago | 2 answers | 0

### 2

Question

Exporting animation figure mat lab to power point.
I Have this animation figure in matlab. Can anyone help me how to easly export it to my powerpoint presentation where I can show...

6 years ago | 1 answer | 0

### 1

Question

Irregular shape area calculation using "integral"
I have a a graph that is irregular shape with many data points. However, for the sake of simplicity I am gona ask here simplifie...

6 years ago | 1 answer | 0

### 1

Question

How to calculate partial area under a graph?
Hello, I am trying to find the area as a part of a graph( Red area in the picture below). I am asking here a simplified quest...

6 years ago | 1 answer | 1