# The modeling of delta function in the numerical calculations

조회 수: 3(최근 30일)
Erkan 2021년 8월 12일
답변: Paul 2021년 8월 15일
Hi everybody, i have a problem on modeling of the delta function in the numerical calculations. i am working on an topic related to the random process, and there is the delta function in this process. i must model the delta function and there are several articles containing the equations for modeling of the delta function. you can see the equations below picture. Where Fi(t) and Fj(t') are random variables, Dij is the real number, and Xz is normally distributed random numbers. i don't modeling this delta function. thanks in advance.
##### 댓글 수: 2표시숨기기 이전 댓글 수: 1
Paul 2021년 8월 15일
"Here are only students." I assure you that's not the case.

댓글을 달려면 로그인하십시오.

### 답변(1개)

Paul 2021년 8월 15일
Would it just be:
deltafunc = @(t,tprime,deltat)((abs(t-tprime)<deltat/2)./deltat); % assumes deltat > 0
Not sure how that Xz got into the mix.

댓글을 달려면 로그인하십시오.

### Community Treasure Hunt

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

Start Hunting!