Curve fitting with no input give

3 Ansichten (letzte 30 Tage)
Urmila
Urmila am 18 Mär. 2011
Hi:
If no input is given how can curve fitting be done?
Urmila

Akzeptierte Antwort

Matt Tearle
Matt Tearle am 18 Mär. 2011
Do you mean that you have data but no idea about the curve to fit? If so, there are nonparametric methods available, such as LOESS. This free webinar might be of interest.

Weitere Antworten (1)

Matt Fig
Matt Fig am 18 Mär. 2011
Do you mean you want to fit a curve to no data? That sounds easy, for I would think that just any curve can fit no data with equal accuracy. Let's try to fit a line to no data and see what happens:
P = polyfit([],[],1)
P =
0 0
So, the curve of best fit is
y(x) = 0x + 0
which sounds as reasonable to me as any other fit I can imagine.
  1 Kommentar
Urmila
Urmila am 18 Mär. 2011
I have figured it out. Basically the matrix is generated from a system that produces it without any input data. That is the user does not give input data to the system so that the system produces a matrix.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Linear and Nonlinear Regression finden Sie in Help Center und File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by