ln fit

From DavinciWiki
Jump to: navigation, search

Description

Natural Logarithm curve fitting.

Arguments and Return Values

Arguments: Two numeric arrays of any values of the same size

Return Value:A numeric array containing the fitting coefficients

Usage

Syntax: ln_fit(x data, y data)

'x data' - x-axis data

'y data' - y-axis data


The fitting function is as follows

y = a + b*ln(x)

Examples

dv> a
100x100x1 array of float, bsq format [40,000 bytes]

dv> b
100x100x1 array of float, bsq format [40,000 bytes]

dv> fit=ln_fit(a,b)
1x2x1 array of double, bsq format [16 bytes]
6.08734e-05     
0.509038

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Major Sub-Functions

Related Functions

Recent Library Changes

Created On: 02-15-2006
Modified On: 01-17-2008

Personal tools