Gaussian derivatives, Electrical Engineering

Assignment Help:

Gaussian derivatives

Generate Gaussian kernels for a given scale "sigma", and display the kernel.

The size of the kernel should be floor(3*sigm)+1;

(i) Write an m-file "gauss.m" which generates Gaussian kernel.

function G=gauss(sigm)
s=floor(3*sigm)+1;
x=[-s:s];
G = exp(-x.^2/(2*sigm^2));
G=G/sum(sum(G));
plot(?);

Why G has to be normalized?

(ii) write an m-file gauss_x.m which generates 1 order derivative of the Gaussian kernel.

function G=gauss_x(sigm)
s=floor(3*sigm)+1;
x=[-s:s];

G=?

(iii)  Write an m-file gauss_xx.m which generates 2 order derivative of the Gaussian kernel.

function G=gauss_xx(sigm)
s=floor(3*sigm)+1;
x=[-s:s];
G=?

Observe Gaussian kernels for different sigma values.
Why the size of the kernel should be  (3*sigm)+1 ?


Related Discussions:- Gaussian derivatives

Value of current if resistance connected to the battery, One battery having...

One battery having of eight cells in parallel. Emf and internal resistance of every cells is 1.5V and 0.4Ω. Find the value of current if an external resistance of 5Ω is connected t

Find the meter reading assuming that the averaging is done, Q A residence i...

Q A residence is supplied with a voltage v(t) = 110√2cos120πt Vand a current i(t) = 10√2cos120πt A. If an electricmeter is used tomeasure the average power, find the meter reading,

Find the total input power, Q. A 230-Vdc shuntmotor delivers 30 hp at the s...

Q. A 230-Vdc shuntmotor delivers 30 hp at the shaft at 1120 r/min. If the motor has an efficiency of 87% at this load, find: (a) The total input power. (b) The line current.

Find the voltage gain of the overall circuit, Q. Find the voltage gain of t...

Q. Find the voltage gain of the overall circuit? (a) Consider the circuit of the inverting amplifier shown in Figure (a), including an ideal op amp. Show that the voltage gain

Relative permeability, The force between two wires 1 metre apart and each c...

The force between two wires 1 metre apart and each carrying 1 amp is 2 x 10 -7 Newtons when in a vacuum (or in practice, air).However, it is found experimentally that the force is

Unconditional jump - jump instruction , Unconditional Jump JMP ( Uncon...

Unconditional Jump JMP ( Unconditional Jump ) Instruction: This  instruction is used to transfer  the execution to the  specified  memory  address unconditionally ( does not c

Difference between photography & holography, 1.       In ordinary photograp...

1.       In ordinary photography, each part contains information of the original object separately and in case some part of the object is destroyed then the information of that par

Construction - unijunction transistor, Construction - UniJunction Transisto...

Construction - UniJunction Transistor: Construction: The basic structure of uni junction transistor is shown in fig. (a). It essentially consists of a lightly doped N type s

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd