Skip to main content
19-Tanzanite
April 19, 2023
Solved

Plotting failed for Dirac Delta (Unit Impulse) Function. Why?

  • April 19, 2023
  • 1 reply
  • 5454 views

Hello,

 

CornelBejan_0-1681885901184.png

CornelBejan_3-1681886188979.png

 

CornelBejan_2-1681885924945.png

 

Do I need to define the dirac delta (unit impulse) function separately to be able to use (plot) it?

 

Mathcad Prime 8 file attached.

 

 

Best answer by ttokoro

Change plot type as below.

image.png

1 reply

21-Topaz II
April 19, 2023

The Dirac impulse has infinite amplitude and infinitesimal width. You can never make a graph of it. You can make some approximations, for example with a rectangular impulse of amplitude 1/ε and width ε so that the area of the impulse is always unitary.  with ε small as desired.

Cornel19-TanzaniteAuthor
19-Tanzanite
April 19, 2023

Which is more correct to use between delta1 and delta2 function implementations?

 

CornelBejan_6-1681891829582.png

 

CornelBejan_7-1681891836854.png

 

CornelBejan_8-1681891848137.png

 

 

 

Cornel19-TanzaniteAuthor
19-Tanzanite
April 19, 2023

But then...I do not know if I will can evaluate numerically further with this functions defined above.

 

CornelBejan_0-1681892282803.png

 

Which should have the value of 1, right?

CornelBejan_1-1681892321508.png