Introduction - If you have any usage issues, please Google them yourself
This Matlab code shows how to perform edge detection by Sobel method in horizontal & vertical direction and the effect of increasing and decreasing the threshold value . Besides, you can try to perform the edge detection by other method in the same ways such as Prewitt , Roberts , Canny and others.