Adams Logo
Quick Ref:
| Home | Search & Links | Projects & Tools | Computing | Problems & Solutions | Gallery | Services Login Zone | About | Contact Me |

Computing Topics
Programing
C++
MATLAB
Perl
MySQL
Useful Bash Scripts
Linux
Windows
Programs
Least Squares Fitting
Fractals
Particle Simulation
Nucleon - Nucleon Scattering
Least Squares Fitting Program

Screenshot of Program

A program developed by Jordan Hulme and I for least squares data analysis. The first package is in the form of a script for MATLAB, while the second is a standalone program written in C++, with extended capabilities.Both packages perform least-squares regression analysis on a user-supplied dataset, and calculate appropriate fitted parameters (with uncertainties) and an associated X2 value.

5 STAR


Download Program US Mirror 5.91 MB
Download Program UK Mirror 5.91 MB
Download Report US Mirror 450 KB
Optimized by  Software Submit.NET

Subject: problems to get to your C++ examples
Date/Time: 2004-11-13 12:58:20

Hi,
I wandered to your page looking for a least squares method program. I got then interested in your C++ classes, but it seems they've got somehow broken links (at least the NeuralNetwork and LeastSquares ones). I'd be thankful if you notified me when they're fixed and/or send them to me by e-mail.
Btw, it's nice you've got so easy to use feedback system :)
Greetz
mateusz

From: Mateusz

Subject: RE: problems to get to your C++ examples
Date/Time: 2004-11-14 10:44:22

Dear Mateusz

I haven't gotten round to formalising them yet.

However the classes are included in the least squares program source code I've attached what you need and a page from the least squares manual that should given you enough to get it working. You'll probably have to remove quite a bit of stuff especial any mention to ErrorSeries if you're not using Borland C++ Builder 5 or above. Although, it should be straight forward to do get the code working in any c++ complier. In addition, some of the classes are missing their destructors if your bothered about memory leaks.

To create your own dataset do this

int nopoints = 10 // eg 10 point data set dataset *xdata = new dataset;

xdata->x = new row(nopoints);
xdata->y = new row(nopoints);
xdata->erry = new row(nopoints); //error in y

//-- add your data

(*xdata->x)[0] = 1
(*xdata->x)[0] = 1
(*xdata->erry)[0] = 0.1
// .... 1-8 range
(*xdata->x)[9] = 10
(*xdata->x)[9] = 20.1
(*xdata->erry)[9] = 0.2

To make your fit class either create one. see pdf for creating one (taken from help in Least Squares program).

E.g. Use General Polynomial.

int xx = 1; // xx = 1 for y = a*x + b , xx = 2 for a*x^2 + b*x +c etc; bfit *xline = new polynom(xx);
xline->downer = xdata; //
xline->fit();

Job done

Hopes this helps

Adam

Attached Files:
APErrorSeries.cpp 10 k
APErrorSeries.dfm 1 k
APErrorSeries.h 3 k
AdamsConst.h 0 k
AdamsStd.cpp 3 k
Engine.cpp 49 k

Engine.h 11 k

Fit Routine_.pdf
Dir

From: Adam

Subject:
Date/Time: 2008-08-10 02:43:15

Will you least squares fitting program fit data to two or more user input simultaneous nonlinear equations over as many ranges of domain? Thank you.

From: Elan

Subject: computer
Date/Time: 2009-09-30 06:59:35

I need c code for straight line fit .........

From: sudhakar

Subject: TRwFRBrKaIhmKmhdbA
Date/Time: 2010-01-10 16:29:45

Good site, textures hair salon, [url="http://www.julianknott.com/portfolio/print/textures/jade-textures/textures-hair-salon-tangled-textures-how-to-draw-fabric-textures-ceiling-textures.html"]textures hair salon[/url], http://www.julianknott.com/portfolio/print/textures/jade-textures/textures-hair-salon-tangled-textures-how-to-draw-fabric-textures-ceiling-textures.html textures hair salon, =-PP, free photoshop textures, [url="http://www.julianknott.com/portfolio/print/textures/chief-architect-textures/free-photoshop-textures-christmas-textures-textures-for-photoshop-wall-textures.html"]free photoshop textures[/url], http://www.julianknott.com/portfolio/print/textures/chief-architect-textures/free-photoshop-textures-christmas-textures-textures-for-photoshop-wall-textures.html free photoshop textures, mpkua, jade textures, [url="http://www.julianknott.com/portfolio/print/textures/vintage-textures/jade-textures-grunge-textures-tomb-raider-underworld-textures.html"]jade textures[/url], http://www.julianknott.com/portfolio/print/textures/vintage-textures/jade-textures-grunge-textures-tomb-raider-underworld-textures.html jade textures, aztam, hair textures, [url="http://www.julianknott.com/portfolio/print/textures/chief-architect-textures/hair-textures-stone-displacement-textures-textures-vbulletin.html"]hair textures[/url], http://www.julianknott.com/portfolio/print/textures/chief-architect-textures/hair-textures-stone-displacement-textures-textures-vbulletin.html hair textures, =-DD, textures photoshop, [url="http://www.julianknott.com/portfolio/print/textures/jade-textures/textures-photoshop-chief-architect-textures.html"]textures photoshop[/url], http://www.julianknott.com/portfolio/print/textures/jade-textures/textures-photoshop-chief-architect-textures.html textures photoshop, iid,

From: Spider

Subject: Последний веб-браузер специально для SURFa
Date/Time: 2010-08-27 02:41:37

необычный веб-обозреватель специально адаптированный для серфинг проектов. В настоящий день Сурф проекты, представляют немалую угрозу инфецирования рабочего компьютера, т.к. после пуска проходит от 100 до нескольких тыщ разных веб-сайтов. При установки антивируса в карантин оставляет около 500 всевозможных вирусных продуктов, однако многие просачиваются. Новый браузер специально разработан организацией http://mediumsurf.com/ и представляет портабл версию надежного браузера МОЗИЛЛА с установленным пакетов модулей, которые препятствуют проникновению вирусного кода на компьютер, убирают лишние баннеры и рисунки, тем самым сокращают нагрузку на сервер вебсайта. Это первый похожий продукт в сети интернет. В отличии от других программ, он полностью самодостаточен, и позволяет не только производить сурф системы, но и безболезненно лазить по другим сайтам, в том числе с вирусами и порно сайты. Если учесть что каждый 30 сайт заражен вирусом, то данный продукт будет весьма необходим всем и каждому. Ознакомиться и бесплатно скачать можно с http://mediumsurf.com/soft.php

From: kris46479

Ask a question

Your Email
Subject
Question
Your Name


Please note that your email address will NOT be directly published on this website. However, people can email you to the given address through this website's mailer utility.