Computer Program Detail Page

Data Fitting JS Model

written by
Francisco Esquembre

The Data Fitting JS Model uses a least square fitting algorithm to fit a polynomial curve to a data set. Users can add points by clicking within the plotting panel. This model is designed to show how to use the numeric JavaScript library that is distributed with EjsS.

The Data Fitting JS Model was developed using the Easy Java/JavaScript Simulations (EjsS) version 5. Although EjsS is a Java program, it can create stand alone JavaScript programs that run in almost any PC or tablet.

Data Fitting JS Source Code
This source code zip archive contains an XML representation of the Data Fitting JS Model. Unzip this archive in your Ejs workspace to compile and run this model using EJS 5. Although EJS is a Java program, EJS 5 creates a stand alone JavaScript program from this source code.download 48kb .zip
Last Modified: October 21, 2014

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.