|
I'm hoping to find a simple library that can take a series of 2 dimensional points and give me back a larger series of points that model the curve. Basically, I want to get the effect of curve fitting like this sample from JFreeChart:
The problem with...
Started by Russell Leggett on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Then, you can getPathIterator() from this curve and with that, according to what documentation says, you.
|
|
I am trying to write C++ function perform curve fitting implementation using least square method. Input parameters of this function are x and y 1D array and n . And this function finds the coefficients of a polynomial p(x) of degree n that fits the data...
Started by yalcin on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Past that, you'll need to determine your chi-....
Boost::ublas should have what you need for the algebra.
For a C++ code, hie thyself to the local library and look it up in Numerical Recipes .
Here's the basic method via MathWorld (a wonderful resource).
|
|
Is there a function in R that fits a curve to a histogram?
Let's say you had the following histogram
hist(c(rep(65, times=5), rep(25, times=5), rep(35, times=10), rep(45, times=4)))
It looks normal, but it's skewed. I want to fit a normal curve that is...
Started by mathee on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
I do it:
foo <- rnorm(100,mean=1,sd=2) hist(foo,prob=TRUE) curve(dnorm(x,mean=mean(foo),sd=sd.
|
Ask your Facebook Friends
|
The curve-fitting problem for 2D data is well known (LOWESS, etc.) but given a set of 3D data points, how do I fit a 3D curve (eg. a smoothing/regression spline) to this data?
MORE: I'm trying to find a curve, fitting the data provided by vectors X,Y,...
Started by Jacob on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Do you want a line? A surface / manifold? Do-multidimensional-curve-fitting
In general, you could view a problem like this from a statistical learning point(t), y(....
You have to define what "curve" you want to fit to them.
|
|
I have two questions concerning fitting a gauss curve to histogram peaks. My first question is a very basic one:
How can I fit a gauss curve to a entire histogram? Does this only mean that I have to find out and calculate the mean value(ยต) and the deviation...
Started by Marc on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
The process of resolving peaks is called deconvolution ( http://en.wikipedia.org/wiki... .
[BTW I think this is properly a programming question if it relates to images.]
Multiple peaks are more difficult .
Your simple approach for a single peak should be OK .
|
|
I have a bunch of data, generally in the form a, b, c, ..., y
where y = f(a, b, c...)
Most of them are three and four variables, and have 10k - 10M records. My general assumption is that they are algebraic in nature, something like:
y = P1 a^E1 + P2 b...
Answer Snippets (Read the full thread at stackoverflow):
There's a tool for fitting 1D and 2D curves at zunzun.com fitting (as far as I know) and it'....
The basics of data fitting involve assuming a general form of a solution, guessing some initial and the coordinates are x , y ...
|
|
Given two points say (1,2,3) and (4,7,8). The endpoint tangents at these points are also given as inputs say pi/4 and -pi/2 respectively. How to fit a helix of arc length 2 between these points? How to implement this in Matlab?
Started by Vinodh Kumar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For these two:
Curve Fitting toolbox Spline toolbox I think there may be a number of different ways you could.
|
|
I'm trying to fit a curve over (the tail of) the following data:
[1] 1 1 1 1 1 1 2 1 2 2 3 2 1 1 4 3 2 11 6 2 16 7 17 36 [25] 27 39 41 33 42 66 92 138 189 249 665 224 309 247 641 777 671 532 749 506 315 292 281 130 [49] 137 91 40 27 34 19 1
I'm using ...
Started by Pieter on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Just thought.
Are completely different from the dummy values: a=500 and b=.1 result in a nice fit.
|
|
Let's imagine I have an unknown function that I want to approximate via Genetic Algorithms. For this case, I'll assume it is y = 2x.
I'd have a DNA composed of 5 elements, one y for each x, from x = 0 to x = 4, in which, after a lot of trials and computation...
Started by devoured elysium on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Is EXCELLENT -- I used it to fit a really nasty nonlinear function where standard fitters failed miserably.
|
|
I have collected data points for a system that can be modeled by a third order transfer function (G= 1/(ax^3+ bx^2+cx^1+d)), at resonance. I would like to try and curve fit the data so I can analyze the experimental with the model but I cant figure out...
Started by ptc-4285632 on
, 11 posts
by 6 people.
Answer Snippets (Read the full thread at ptc):
I tried using the results of the fitting function as coefficients, using the same fitting function with this task (genfit): http://twtmas.mpei.ac.ru/mas/worksheets/Fit_f_x_a_b_c.mcd.
|