Skip to main content
added 13 characters in body
Source Link
kglr
  • 400.5k
  • 18
  • 488
  • 929

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a NormalNormal distribution and a uniformUniform distribution [-1,1]on [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in MathematicalMathematica... Below is my attempt:

Integrate[PDF[NormalDistribution[μ, σ]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y]2&[y], 
 {y, -Infinity, Infinity}]

However, the output when iI plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDeltaDiracDelta. Any help would be greatly appreciated.

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[μ, σ]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a Uniform distribution on [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematica... Below is my attempt:

Integrate[PDF[NormalDistribution[μ, σ]][x-y](DiracDelta[# + 1] + DiracDelta[# - 1])/2&[y], 
 {y, -Infinity, Infinity}]

However, the output when I plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

Format equation
Source Link
mikado
  • 17.1k
  • 2
  • 21
  • 55

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[[Mu], [Sigma]]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

Integrate[PDF[NormalDistribution[μ, σ]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[[Mu], [Sigma]]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[μ, σ]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

added 6 characters in body
Source Link

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[[Mu], [Sigma]]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[[Mu], [Sigma]]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2, {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

I'm trying to get Mathematica to perform the convolution I need. I think it's fairly simple, just a convolution between a Normal distribution and a uniform distribution [-1,1]. A friend of mine mentioned using the delta function to do so but I'm not sure how to evaluate it correctly in Mathematical... Below is my attempt:

Integrate[PDF[NormalDistribution[[Mu], [Sigma]]][x - y](DiracDelta[# + 1] + DiracDelta[# - 1])/2 & [y], {y, -Infinity, Infinity}]

However, the output when i plot the solution seems readily wrong. I believe my problem is in how I'm implementing the DiracDelta. Any help would be greatly appreciated.

Source Link
Loading