How to get a sum of a series
2 次查看(过去 30 天)
显示 更早的评论
Hello,
I need to get the sum of
Y(t)= A(i)*X(t-i)
where X is a vector of size (100,1). A is a vector of size (3,1)
i=0 to 2 and t= 3 to 100.
Any help is greatly appreciated.
Thanks
Dav
0 个评论
采纳的回答
更多回答(2 个)
David Young
2014-2-20
编辑:David Young
2014-2-20
If you want the sum over i for each t, then it's
Y = conv(X, A, 'valid');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Particle & Nuclear Physics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!