Create ex4.m