Question: Describe what the following MATLAB code does. the original function name has been replaced by f name. Specify where relevant which expressions in the textbook

 Describe what the following MATLAB code does. the original function name

Describe what the following MATLAB code does. the original function name has been replaced by f name. Specify where relevant which expressions in the textbook have been implemented. 20 points function [g x, g y] f name (IM, sigma) % (comment taken out) % [gx.gyl f name(IM, sigma) (comment taken out) epsilon =1e-2; half size=ceil(sigma sqrt(2 pi) sigma epsilon))); size =2 halfsize+1; %(comment taken out) for I =1:size for j=1:size u=[i-halfsize-1j-halfsize -1];h x(I, j)= gauss(u(1)sigma d gauss(u(2),sigma); end h x = h x/sqrt(sum(abs(h x)abs(h x)))); %(comment taken out) g x=Im filter(IM, h x, replicate, con'); g y=I m filter ; function y= gauss(x, sigma) %(comment taken out) y =exp(-x^2(2 sigma sqrt (2 pi)); function y= d gauss(x, sigma) %(comment taken out) y= x gauss (x, sigma/sigma^ 2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!