Examples of programming questions in matlab