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

Power flow analysis, Ask question #Minimum 10] In the system shown in Fig...

Ask question #Minimum 10] In the system shown in Figure 4-1, the rated voltage of the line is 110kv, and the conductors are all LGJ-120 type. The parameters are: r1=0.21O/km,x1=0

Find the open-circuit voltage amplification of the circuit, (a) Figure show...

(a) Figure shows a circuit containing an amplifier block. Find the open-circuit voltage amplification of the circuit. (b) Let the output terminals be connected to a load resista

Explain the drain characteristics of jfet with external bias, Q. Explain th...

Q. Explain the drain characteristics of JFET with external bias? It gives relation between Id and Vds for different values of Vgs.(which is called the running variable). The ab

Design an integrator, Q. An integrator as shown in Figure is to be designed...

Q. An integrator as shown in Figure is to be designed to solve dy(t) / dt + 2000y (t) = 0 with y(0) = 5. If R i is chosen to be 10 k, find C f .

Compute current in given the circuit configuration, Q. Consider the circuit...

Q. Consider the circuit configuration shown in Figure. Let V i = 1V, R 1 = 1000, R 2 = 2000, and A = 3. (a) Compute i 2 . (b) If R 1 changed to 500 , recompute i 2 .

Semiconductor devices, Semiconductor Devices: We have studied semicond...

Semiconductor Devices: We have studied semiconductor devices. Firstly, we understand what semiconductors in terms of energy band diagrams are. Then we understand what is dopin

Calculate the induced voltage at full load, A 100-kW, 230-V shunt generator...

A 100-kW, 230-V shunt generator has R a = 0.05  and R f = 57.5 . If the generator operates at rated voltage, calculate the induced voltage at (a) full load, and (b) one-half fu

Microcontroller interfacing, The conveyor system is driven by a 240 Volt 50...

The conveyor system is driven by a 240 Volt 50 Hz AC motor requiring a continuous 1 Amp supply. The conveyor has single direction operation. The loading mechanism for the winder

Find the equivalent components of the network, Q. At the two terminals (A, ...

Q. At the two terminals (A, B) of a one-port network, the voltage and the current are given to be v(t) =200 √2 cos (377t + 60°) V and i(t) = 10√2 cos(377t + 30°) A. (a) Determin

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