Dirac Delta Function

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

//Dirac Delta Function//

clc;clear;clf;

L=10^9

x=-1000:1:1000

function y=f(x)

if x==0 then

y=L/%pi

else

y=sin(L*x)/(%pi*x)

end

endfunction

plot(x,f)

xtitle('Dirac Delta Function{f(x)=sin(Lx)/pi*x}','X-axis','f(x)')


GRAPH:-

You might also like