This tutorial runs quickly through how the "rem" function works in MATLAB.
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.