با استفاده از یک برنامه کوچک به صورت عملی تفاوت دستورات fspecial disk و fspecial motion را نشان خواهیم داد. هدف از مقایسه این دو فیلتر این است که بفهمیم کدام یک برای تار کردن تصویر مناسب تر است. ‘disk’ : Circular averaging filter (pillbox) h = fspecial(‘disk’, radius) returns a circular averaging filter (pillbox) within the square matrix of side 2*radius+1. The default radius is 5. ‘motion’ :Approximates the linear motion of a camera h = fspecial(‘motion’, len, theta) returns a filter to approximate, once convolved with an image, the linear motion of a camera by len pixels, with…