Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database 101

Authors: Guy Kawasaki

1st Edition

0938151525, 978-0938151524

More Books

Students also viewed these Databases questions

Question

What is the Definition for Third Normal Form?

Answered: 1 week ago

Question

Provide two examples of a One-To-Many relationship.

Answered: 1 week ago