How to code gaussian error function

조회 수: 20 (최근 30일)
Niklas Kurz
Niklas Kurz 2020년 6월 25일
댓글: SAA 2020년 7월 22일
In regard to coding, I wonder how you could execute the error function to any function, like C = atan((2*a)/(2*b)). So I'd expect Matlab to form the partial derivations of a and b and plug them into DeltaC = ((dC/da)^2 + (Delta a)^2 + (dC/db)^2 + (Delta b)^2)^(1/2). Pretending that I assigned values to a, b, Delta a, Delta b.

채택된 답변

SAA
SAA 2020년 7월 22일
Matlab has a built in function for both the error function and the complimentary error function.
erf
erfc
  댓글 수: 2
Niklas Kurz
Niklas Kurz 2020년 7월 22일
편집: Niklas Kurz 2020년 7월 22일
Yea, I confounded that. Actually I meant error propagation. I even don't really grasp what erf is about. What are the values corresponding to? For Example if I type in erf(1) it gives back 0.8427. Do you know the meaing of it?
SAA
SAA 2020년 7월 22일
its the solution to this integral multiplied by , its used in statistics and to solve some PDE's

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Boundary Conditions에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by