NASA Logo, External Link
Facebook icon, External Link to NASA STI page on Facebook Twitter icon, External Link to NASA STI on Twitter YouTube icon, External Link to NASA STI Channel on YouTube RSS icon, External Link to New NASA STI RSS Feed AddThis share icon

Record Details

Record 5 of 91683
Author and Affiliation:
Kantak, A. V.
Abstract: The Least Squares Curve Fitting program, AKLSQF, computes the polynomial which will least square fit uniformly spaced data easily and efficiently. The program allows the user to specify the tolerable least squares error in the fitting or allows the user to specify the polynomial degree. In both cases AKLSQF returns the polynomial and the actual least squares fit error incurred in the operation. The data may be supplied to the routine either by direct keyboard entry or via a file. AKLSQF produces the least squares polynomial in two steps. First, the data points are least squares fitted using the orthogonal factorial polynomials. The result is then reduced to a regular polynomial using Sterling numbers of the first kind. If an error tolerance is specified, the program starts with a polynomial of degree 1 and computes the least squares fit error. The degree of the polynomial used for fitting is then increased successively until the error criterion specified by the user is met. At every step the polynomial as well as the least squares fitting error is printed to the screen. In general, the program can produce a curve fitting up to a 100 degree polynomial. All computations in the program are carried out under Double Precision format for real numbers and under long integer format for integers to provide the maximum accuracy possible. AKLSQF was written for an IBM PC X/AT or compatible using Microsoft's Quick Basic compiler. It has been implemented under DOS 3.2.1 using 23K of RAM. AKLSQF was developed in 1989.
Publication Date: Jan 01, 1994
Document ID:
(Acquired Dec 28, 1995)
Accession Number: 94M10729
Report/Patent Number: NPO-17819
Document Type: Computer Program
Publisher Information: United States
Financial Sponsor: Cal Tech/Jet Propulsion Lab.
Description: In English
Distribution Limits: Unclassified; Publicly available; Unlimited
Rights: No Copyright
Other Descriptors: BASIC; IBM PC SERIES
Miscellaneous Notes: Approximately 360 source statements
Availability Source: Other Sources
Availability Notes: Program $150.00
› Back to Top
Find Similar Records
NASA Logo, External Link
NASA Official: Gerald Steeman
Site Curator: STI Program
Last Modified: August 19, 2011
Contact Us