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 '-','--','.-'). See the 'LineStyle' property on the Line Properties reference page.

h = lsline returns the handles to the line objects.

Example

See Also
polyfit, polyval


 lognstat mad