added matlab examples