get roots of polynomial equation matlab code example Example: root matlab sqrt(X) gives square root of X