Top 5% contributor
Thanks for taking the time to write all that. That is very kind of you, and it gave me a big push in the right direction. Thanks...
Answered 2 years ago
I am trying to evaluate the following integral in MATLAB: http://www.scribd.com/doc/100400549/mwe
However I haven't had...
Asked 2 years ago
I have a plot of data points (x, y). The issue is that one of the first data points has a very large amplitude, whereas th...
Andrei's suggestion works, but when I increase the resolution of x, then the convolution changes as well. Is this just a propert...
Answered 3 years ago
If I use this approach http://www.mathworks.se/support/solutions/en/data/1-GNRWCU/index.html, is there a way to obtain the error...
Hi 1) .* is an array operator (element-by-element operator). Now, if a=2 and x=[1 2], then why am I allowed to calculate a.*x? ...
4 years ago
I have a relatively simple set of coupled ODE's that I am trying to solve by ODE45. The following is the content of the .m...
I have some data, which is not too different from the top graph in this picture: http://www.aanda.org/index.php?option=com...
Asked 3 years ago
I have the following code
plot(x, (1)./(1+4*x.^2), 'b')
When I plot this, t...
I have some data (x, y), where y is proportional to x. I want to find the relationship, so I fit a function of the form f(...
I am fitting a function to some data using nlinfit in the following way
[b, r, J, COVB, mse] = nlinfit(v(:, 1), v(:, ...
I am running R2012b and doing nonlinear weighted regression as explained here: http://www.mathworks.se/help/stats/examples...
I have the following piece of code:
I have a data set giving me (time, voltage), and I wish to normalize the data set. Is there a smart way to do this in MatL...
I am fitting an exponential to my data using least squares, as in:
I have the following script that defines a function and sets up and equation:
H = @(f) sum(log(f));
f = rand(1, 1...
Asked 11 months ago
I have the following system of ODEs (a very stiff system!):
eoms = @(t,x) [
3.9e3 + 4.8e4*x(3) - 3.9e3*0.02*...
I am trying to evaluate the following integral numerically in MatLAB: http://www.scribd.com/doc/100400549/mwe
Please take a look at my dataset here: <http://peecee.dk/upload/view/377379>
It can be plotted using the following
I am trying to fit a function to some data points. My code is the following:
I have some data (x, y) (no uncertainties on either x or y), which very nicely follows an exponentially decaying function....
I have the following example
errorbar(x, y, e, e)
What I want is to...
Fitting a polynomial in Matlab to some data (x, y) is easy using polyfit as e.g.
p_RvsT = polyfit(r_vs_t(:, 1), r_vs_...
I have a dataset, which I am trying to fit to a function having the form
A*cos(a*x) + B*sin(b*x) + C/x + exp(-D*x).
In MATLAB, you create a vector by enclosing the elements in square brackets like so:
x = [1 2 3 4]
Commas are optional, s...
2 years ago
I am trying to generate numbers following a probability-distribution given by the 1D Maxwell velocity distribution, which ...
I have a set of data (x, y), where there are measurement errors on both coordinates. These errors are non-constant, and I ...
I have previously asked a question regarding how to evaluate a specific integral in MatLAB, see this thread: http://mathwo...
Hi I have the following code I wish to output the figure "fig". There are two things I need to get in order: 1) When I use ...
Join the conversation