integration problem

I need to integrate f(x)*cos(x)dx for x from 0 to 2*pi.
For f(x), I have a list of 33 y-values with corresponding x=[0:2*pi/32:2*pi].
How do I integrate this in MATLAB?

类别

帮助中心File Exchange 中查找有关 Creating, Deleting, and Querying Graphics Objects 的更多信息

提问:

2012-5-17

Community Treasure Hunt

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

Start Hunting!

Translated by