Feeds
提问
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...
3 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
4 years 前 | 0 个回答 | 0
0
个回答提问
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...
6 years 前 | 1 个回答 | 0
1
个回答提问
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
6 years 前 | 1 个回答 | 1
1
个回答提问
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 ...
6 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 0 个回答 | 0
0
个回答提问
how to sutract specific elements in a long array?
Hi Suppose I have x=[ -0.401993355481728 -0.398671096345515 -0.395348837209302 -0.392026578073090 -0.38870431...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 1
2
个回答提问
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(...
7 years 前 | 0 个回答 | 0
0
个回答提问
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...
7 years 前 | 0 个回答 | 0
0
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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 ...
7 years 前 | 1 个回答 | 1
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 1 个回答 | 0
1
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
7 years 前 | 2 个回答 | 0
2
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 2 个回答 | 0
2
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 0
1
个回答提问
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...
8 years 前 | 1 个回答 | 1
1
个回答提问
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...
8 years 前 | 1 个回答 | 0