Error functions are very important in calculus and data analysis. Matlab® provides a command which is called ‘erfc()’ to calculate these error function integrations.
YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!
Here, we explain how to use the ‘erfc()’ command to calculate the error function integrations in Matlab®. The example below is executed in Matlab® command window. So you can try it in your own Matlab® product.
On this post
How To Use The ‘erfc()’ Command In MatLab®?
>> erfc(10) ans = 2.0885e-45 >>
As you see in the example above, you just need to type the value that you need inside the ‘erfc()’ command in Matlab®. The calculation is made if you execute the code.
What Is The Complementary Error Function?
The complementary error function has the equation like above. The value that you entered inside the ‘erfc()’ command is the ‘z’ in this equation.
The use of the ‘erfc()’ command is very simple in Matlab®. You can also write matrices or vectors inside the brackets of the ‘erfc()’ command.
Do not forget to leave your comments and questions below about the ‘erfc()’ command in Matlab® below.
If you want further coding examples about the ‘erfc()’ command in Matlab®, inform us in the comments.
This article is prepared for completely educative and informative purposes. Images used courtesy of Matlab®
Your precious feedbacks are very important to us.