how to write summation in power series

7 visualizzazioni (ultimi 30 giorni)
how to write summation(a(i)*t^i)

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Tag

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by