From: M K on
Does Matlab allow for basic curve fitting (linear) without the toolboox? An in-built function of some type perhaps?
From: Wayne King on
"M K" <maha_k(a)mathworks.com> wrote in message <hm12vl$2en$1(a)fred.mathworks.com>...
> Does Matlab allow for basic curve fitting (linear) without the toolboox? An in-built function of some type perhaps?

Hi, yes, it does see

>>doc polyfit

Wayne
From: us on
"M K" <maha_k(a)mathworks.com> wrote in message <hm12vl$2en$1(a)fred.mathworks.com>...
> Does Matlab allow for basic curve fitting (linear) without the toolboox? An in-built function of some type perhaps?

yes, there are many of them, let alone the basic engine, which allows you to -essentially- create your own fitting tbx from scratch...
eg,

help polyfit;
help slash;
% ...

us
From: Matt J on
"M K" <maha_k(a)mathworks.com> wrote in message <hm12vl$2en$1(a)fred.mathworks.com>...
> Does Matlab allow for basic curve fitting (linear) without the toolboox? An in-built function of some type perhaps?
=================

If you have uniformly spaced samples and you want to curve fit using some linear combination of shifted kernels (e.g. B-splines), then this tool could help:

http://www.mathworks.com/matlabcentral/fileexchange/26292-regular-control-point-interpolation-matrix-with-boundary-conditions

It comes with examples for 1D and 2D cubic B-spline fitting.