On Sun, 2016-01-03 at 09:54 -0500, Doug Stewart wrote:

>

> Function File: n = degree (p)

> Function File: n = degree (p, x)

> Extract numerator and demoninator of symbolic expression.

> Examples:

> syms x

> degree(x^2 + 6)

> ⇒ (sym) 2

>

>

> This function does not "extract numerator and denominator from"

> It finds the highest power of a variable.

Well, it returns the degree of the numerator polynomial, which is two.

In this example, there is no denominator polynomial defined (note the

spelling, the help text is wrong!)