syms s;
gs=[(s+1)*(s+2) (s+1)^2/(s+2); -(s+2)/(s+1)^2 -1/(s+2)]
[NR DR]=MinRMFD(gs)