Statistics Toolbox    
lsline

Least squares fit line(s)

Syntax

Description

lsline superimposes the least squares line on each line object in the current axes (except LineStyles '-','--','.-').

h = lsline returns the handles to the line objects.

Example

See Also
polyfit, polyval


  lognstat mad