saving . . . saved DIRAC DELTA FUNCTION has been deleted. DIRAC DELTA FUNCTION has been hidden .
DIRAC DELTA FUNCTION
Title
Question
How to evaluate dirac delta function using Scilab?

Scilab General None min None sec 19-02-16, 9:17 p.m. 60901

Answers:

Here's the code

function y=diracdelta(d)
y=0;
if d==0 then
y=1
end
endfunction
d=-2:2;
for i=1:length(d)
f(i)=diracdelta(d(i));
end
plot2d3(d,f)
xlabel('n')
ylabel('Dirac Delta')

The code was taken from here- http://www.equalis.com/blogpost/731635/139333/Impulse-function--Dirac-Delta-in-scilab
20-02-16, 1:13 p.m. smohanan
thank you #smohana
21-02-16, 9:55 p.m. 60901
What is the graph of this code plz reply
31-03-19, 4:14 p.m. niharranjannayak

Login to add comment


Log-in to answer to this question.