How to create a sigma loop

Hello i'm having problem with defining a function and this is the question ;
Write a function that calculates following Sum for given k and a constants by user
y(k)=1+a^2+a^3+a^4.....+a^k
thanks for help

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 19 de Dic. de 2015

Respondida:

el 19 de Dic. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by