‘sinint()’ And ‘cosint()’ Commands In MatLab®

1 min reading time..

Matlab® provides various kinds of useful tools to calculate different mathematical expressions with the given values or value sets. The ‘sinint()’ and ‘cosint()’ commands are two examples of this. 

Here we explain these commands and their use in the Matlab® command window. 

What Do These Commands Do?

The ‘sintint()’ command in Matlab® calculates the integral above. You just need to enter a value inside the parentheses of the ‘sinint()’ command then execute the code.

The ‘cosint()’ command also calculates the integration above again.

>> sinint(2)

ans =

    1.6054

>> cosint(2)

ans =

    0.4230

>> 

As you see above, you can enter a value inside these commands. You can also enter multiple values to see multiple results, as a vector.

Conclusion

Do not forget to leave your comments and questions below about the use of the ‘sinint()’ and the ‘cosint()’ commands in Matlab below. 

If you want further coding examples about the ‘sinint()’ and the ‘cosint()’ commands in Matlab®, inform us in the comments.

This article is prepared for completely educative and informative purposes. Images used courtesy of Matlab®

YOU CAN LEARN MatLab® IN MECHANICAL BASE; Click And Start To Learn MatLab®!

Your precious feedbacks are very important to us.

COMMENTS
There are no comments for this article yet! You can make the first comment.
Leave a Comment

x