slope.m¶ Basic Information¶ SYNTAX: m = slope(x,y) PURPOSE: Calculate slope of line specified by two points. INPUT: x = length 2 vector giving x values y = length 2 vector giving y values OUTPUT: m = slope of line