Update ex_2.m