matlab examples with solutions