mmRHS.m