Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem in Matlab:"int(Dirac(x),x,-1,1)" =0 ???

Status
Not open for further replies.

yannik33

Member level 1
Joined
Oct 18, 2011
Messages
34
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,507
Hallo,
I computed in Matlab
"syms x"
"int(Dirac(x),x,-1,1)" and Matlab's solution is "0"?
What is the problem? (According to my knowledge the solution should be 1).

By the way, How can I calculate the integral(Dirac(x)^2) by hand (that was my objective), Thanks
 

As Eduardo said ,it works

Code:
syms x 
>> int(dirac(x),x,-1,1)
 
ans =
 
1
 

To calculate the integral of dirac(x)^2 I think you can start from a constant function of amplitude 1/ε in a range -ε/2, +ε/2 and zero elsewhere. The δ(x) can be seen as the limit of such a function for ε\[\to\]0.
Then the integral from -∞ to +∞ of δ(x) will be the same of the integral taken from -ε/2 and +ε/2 and correspond to the integral of a constant value calculated between those two extremes:

lim(ε\[\to\]0) [1/ε•(ε/2+ε/2)] = 1

Considering now δ(2)², the range -ε/2, +ε/2 will remain the same while the height of the pulse will be (1/ε)² then the integral will be:

lim(ε\[\to\]0) [1/岕(ε/2+ε/2)] = +∞
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top