How to do definite integral in MATLAB

1 次查看(过去 30 天)
Hello all,
I have this function y of t, and I want to find the following definite integral (I am using the LateX syntax):
\int_{kT}^{(k+1)T}y(t)\,dt
for k=0,1,..., K-1. How can I do this in MATLAB?
Note: K is a very large number, and hence, I need an efficient way of doing the integration for all k other than for-loop approach.
Thanks
  5 个评论
S. David
S. David 2014-4-7
编辑:S. David 2014-4-7
I have the vector dCP which consists of samples at t=n*Ta. I want to transmit it over a channel which scales/shifts these samples. That is why I am using the interpolation. At the receiver I want to use matched filtering to extract the samples again, which involves the integration above.
S. David
S. David 2014-4-7
Someone told me I can do this by interpret integration as summation (integration by definition).

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by