Edge detection in images using matlab