ex3_3Dfield_solution.m