Query about dirac delta function

4 views (last 30 days)
Shaukhin
Shaukhin on 10 Feb 2023
Edited: John D'Errico on 10 Feb 2023
What do you mean in matlab by dirac(2,w)?

Answers (1)

John D'Errico
John D'Errico on 10 Feb 2023
Edited: John D'Errico on 10 Feb 2023
It seems pretty clear.
help dirac
--- help for sym/dirac --- DIRAC Symbolic delta function. DIRAC(X) is zero for all X, except X == 0 where it is infinite. DIRAC(X) is not a function in the strict sense, but rather a distribution with int(dirac(x-a)*f(x),-inf,inf) = f(a) and diff(heaviside(x),x) = dirac(x). DIRAC(N,X) represents the N-th derivative of DIRAC(X). See also SYM/HEAVISIDE. Documentation for sym/dirac doc sym/dirac Other uses of dirac double/dirac single/dirac
So dirac(2,w) is the second derivative of that function, at w. yes, I know how can you differentiate a function like a Dirac delta? If you want to understand what the derivatives of the Dirac Delta function are, you will want to do some reading, where someone has already spent a fair amount of time to explain it.

Categories

Find more on Manage Products in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!