Thread Subject: Fitting in Matlab

Subject: Fitting in Matlab

From: Alexander

Date: 27 Mar, 2009 11:03:01

Message: 1 of 3

Hello,

I use a student version of Matlab R2007a, and I have a question about fitting. The student version comes without the Curve Fitting Toolbox. However, there is a way of intuitive GUI fitting, but it's very limited: In my version, if I go to Tools --> Basic fitting (in any figure window), I can for example choose linear fitting. Unfortunately, only one dataset can be fitted simultaneously, and there is no way to exclude bad points from the fit.

I have to do a lot of fitting regularly (mostly linear regression), and in most problems I require to fit several datasets in one figure, as well as to be able to exclude points in a dataset from fitting. Do you know a good way to do that (apart from coding every fit by hand)?

Matlab is really wonderful for manipulating data (recorded in physical experiments), it's also wonderful for plotting, so I guess there must be some way do some good fitting with it. I'd really hate to have to change to other tools like Origin oder Igor Pro, which by the way do not even have native Linux versions.

That's why I'm really curious about your replies!

Alexander

Subject: Fitting in Matlab

From: Steven Lord

Date: 27 Mar, 2009 13:31:13

Message: 2 of 3


"Alexander" <alexander.erlich@gmail.com> wrote in message
news:gqibp5$5dm$1@fred.mathworks.com...
> Hello,
>
> I use a student version of Matlab R2007a, and I have a question about
> fitting. The student version comes without the Curve Fitting Toolbox.
> However, there is a way of intuitive GUI fitting, but it's very limited:
> In my version, if I go to Tools --> Basic fitting (in any figure window),
> I can for example choose linear fitting. Unfortunately, only one dataset
> can be fitted simultaneously, and there is no way to exclude bad points
> from the fit.
>
> I have to do a lot of fitting regularly (mostly linear regression), and in
> most problems I require to fit several datasets in one figure, as well as
> to be able to exclude points in a dataset from fitting. Do you know a good
> way to do that (apart from coding every fit by hand)?
>
> Matlab is really wonderful for manipulating data (recorded in physical
> experiments), it's also wonderful for plotting, so I guess there must be
> some way do some good fitting with it. I'd really hate to have to change
> to other tools like Origin oder Igor Pro, which by the way do not even
> have native Linux versions.

While the Student Version does not include Curve Fitting Toolbox by default,
it is available as an add-on product.

http://www.mathworks.com/academia/student_version/companion.html

If you're interested in purchasing this toolbox, go to the Store website at
the top of the page I linked above or contact Customer Service.

--
Steve Lord
slord@mathworks.com

Subject: Fitting in Matlab

From: someone

Date: 27 Mar, 2009 13:43:01

Message: 3 of 3

"Alexander" <alexander.erlich@gmail.com> wrote in message <gqibp5$5dm$1@fred.mathworks.com>...
> Hello,
>
> I use a student version of Matlab R2007a, and I have a question about fitting. The student version comes without the Curve Fitting Toolbox. However, there is a way of intuitive GUI fitting, but it's very limited: In my version, if I go to Tools --> Basic fitting (in any figure window), I can for example choose linear fitting. Unfortunately, only one dataset can be fitted simultaneously, and there is no way to exclude bad points from the fit.
>
> I have to do a lot of fitting regularly (mostly linear regression), and in most problems I require to fit several datasets in one figure, as well as to be able to exclude points in a dataset from fitting. Do you know a good way to do that (apart from coding every fit by hand)?
>
> Matlab is really wonderful for manipulating data (recorded in physical experiments), it's also wonderful for plotting, so I guess there must be some way do some good fitting with it. I'd really hate to have to change to other tools like Origin oder Igor Pro, which by the way do not even have native Linux versions.
>
> That's why I'm really curious about your replies!
>
> Alexander

You can download EzyFit from the MATLAB FEX at:

http://www.mathworks.com/matlabcentral/fileexchange/10176

(Its a free curve fitting toolbox.)

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
matlab Alexander 27 Mar, 2009 07:05:05
student version Alexander 27 Mar, 2009 07:05:05
r2007a Alexander 27 Mar, 2009 07:05:05
fitting Alexander 27 Mar, 2009 07:05:05
toolbox Alexander 27 Mar, 2009 07:05:05
linear fit Alexander 27 Mar, 2009 07:05:05
linear regression Alexander 27 Mar, 2009 07:05:05
gui Alexander 27 Mar, 2009 07:05:05
basic fitting Alexander 27 Mar, 2009 07:05:05
dataset Alexander 27 Mar, 2009 07:05:05
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com