how to write summation in power series

4 views (last 30 days)
how to write summation(a(i)*t^i)

Accepted Answer

David Hill
David Hill on 2 Mar 2022
i=1:100;
a=randi(100,1,100);
t=.9;
s=sum(a.*t.^i);

More Answers (0)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!