Community Profile

photo

friet


Last seen: bijna 3 jaar ago Active since 2014

Statistics

  • Thankful Level 3

View badges

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

bijna 3 jaar ago | 1 answer | 0

1

answer

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

bijna 4 jaar ago | 0 answers | 0

0

answers

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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

ongeveer 6 jaar ago | 1 answer | 1

1

answer

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

ongeveer 6 jaar ago | 2 answers | 0

2

answers

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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

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

ongeveer 6 jaar ago | 2 answers | 0

2

answers

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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

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

ongeveer 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 0 answers | 0

0

answers

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

meer dan 6 jaar ago | 2 answers | 1

2

answers

Question


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

meer dan 6 jaar ago | 0 answers | 0

0

answers

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

meer dan 6 jaar ago | 0 answers | 0

0

answers

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

meer dan 6 jaar ago | 2 answers | 0

2

answers

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

meer dan 6 jaar ago | 1 answer | 0

1

answer

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

bijna 7 jaar ago | 1 answer | 0

1

answer

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

bijna 7 jaar ago | 1 answer | 0

1

answer

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

bijna 7 jaar ago | 1 answer | 0

1

answer

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

bijna 7 jaar ago | 1 answer | 1

1

answer

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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

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

ongeveer 7 jaar ago | 1 answer | 0

1

answer

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

ongeveer 7 jaar ago | 2 answers | 0

2

answers

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

meer dan 7 jaar ago | 1 answer | 0

1

answer

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

meer dan 7 jaar ago | 1 answer | 0

1

answer

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

meer dan 7 jaar ago | 1 answer | 1

1

answer

Question


How can I calculate the area under a graph (Shaded area)?
Hello, I am trying to calculate the area of the shaded area shown in the graph. This is my Matlab code. When I use trapz keyw...

meer dan 7 jaar ago | 1 answer | 0

1

answer

Load more