how to write summation in power series

조회 수: 2 (최근 30일)
shiv gaur
shiv gaur 2022년 3월 2일
답변: David Hill 2022년 3월 2일
how to write summation(a(i)*t^i)

채택된 답변

David Hill
David Hill 2022년 3월 2일
i=1:100;
a=randi(100,1,100);
t=.9;
s=sum(a.*t.^i);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by