puntorigen / trilat

simple computation of trilateration using matlab's Levenberg Marquardt curve-fitting algorithm.

Home Page:https://josepedrodias.github.io/trilat/dist.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trilat

Simple computation of trilateration using matlab's Levenberg Marquardt curve-fitting algorithm.

Common usage

var trilat = require('trilat');

var input = [
//      X     Y     R
    [ 0.0,  0.0, 10.0],
    [10.0, 10.0, 10.0],
    [10.0,  0.0, 14.142135]
];

var output = trilat(input);
// [ 2.205170988086251e-7, 9.999999779478834 ]

Usage without dependencies

If you want to use this in the browser without browserify/webpack/etc, include the dist.js file, which exposes the symbol trilat as a global function.

About

simple computation of trilateration using matlab's Levenberg Marquardt curve-fitting algorithm.

https://josepedrodias.github.io/trilat/dist.js


Languages

Language:JavaScript 100.0%