Fit - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


MmaTranslator[Mma]

  

Fit

  

return the least-squares fit for a list of data

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

Fit(arguments)

Parameters

arguments

-

Maple translation of the Mathematica command arguments

Description

• 

The Fit command returns the least-squares fit for a specified list of data as a linear combination.

Examples

withMmaTranslatorMma:

Use the command with the Maple translation.

Fit0,2,3,5,5,8,8,11,x+5,x

273x358+1365358

(1)

Alternatively, you can use the FromMma command with the evaluate option specified.

withMmaTranslator:

FromMma`Fit[{{0, 2}, {3, 5}, {5, 8}, {8, 11}}, x+5, x]`,evaluate

273x358+1365358

(2)

See Also

MmaTranslator

MmaTranslator[FromMma]

MmaTranslator[Mma]