You can find very detailed information about the Dawson function and integral from this article. Matlab® provides a very basic function to calculate Dawson integrations to obtain Dawson functions from it. This command is called ‘dawson()’ in Matlab®.
YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!
Here we explain how to use the ‘dawson()’ command to calculate Dawson integrals in Matlab®. The code example below is executed in the Matlab® command window. So you can try it in your own Matlab® product.
>> dawson(10) ans = 0.0503 >>
It is actually a very simple-to-use command. What you need to do is, just type the value that you want to calculate the Dawson integral, inside the brackets of the ‘dawson()’ command like above. Hit the ‘Enter’ key from your keyboard. And the answer will be given in the command window.
The ‘dawson()’ command in Matlab® calculates the Dawson integral with the equation above. What you typed inside the brackets of the ‘dawson()’ command is the value of ‘x’ in this equation.
As you see above, the calculation of Dawson integral is very simple in Matlab® with the ‘dawson()’ command. You can use matrices and vectors in the ‘dawson()’ command also.
Do not forget to leave your comments and questions below about the use of base conversion commands in Matlab® below.
If you want further coding examples about ‘sym’ and ‘syms’ commands 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.