How to code gaussian error function

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 日

0 投票

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 件)

製品

質問済み:

2020 年 6 月 25 日

コメント済み:

SAA
2020 年 7 月 22 日

Community Treasure Hunt

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

Start Hunting!

Translated by