In advanced mathematics, Fresnel’s integrals has a very important place. In Matlab®, you can solve the Fresnel’s integrals with the commands of ‘fresnelc()’ and ‘fresnels()’. Here we show you how to use these commands to solve Fresnel’s integrals in Matlab®.
YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!
You can try the given code examples in your Matlab® software.
There are two types of Fresnel integrals available; Sine Fresnel integrals and Cosine Fresnel integrals. These are the equations of both Sine and Cosine Fresnel integrals respectively;
Take a look at the codes below that executed in Matlab® command window, to understand how to solve Fresnel integrals.
>> fresnelc(10) ans = 0.4999 >> fresnels([2 10 20 30]) ans = 0.3434 0.4682 0.4841 0.4894 >>
You can see the the two examples about the use of the ‘fresnelc()’ and the ‘fresnels()’ commands in Matlab®. You just need to type the required value inside the brackets.
As you see in the second example, you can also write multiple of variables inside the brackets as vectors.
Hit the ‘Enter’ key from your keyboard to see the results.
Do not forget to leave your comments and questions below about the use of the ‘fresnelc()’ and the ‘fresnels()’ commands in Matlab® below.
If you want further coding examples about he ‘fresnelc()’ and the ‘fresnels()’ 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.