Borrar filtros
Borrar filtros

calculate an equation with index

2 visualizaciones (últimos 30 días)
Dija
Dija el 2 de Dic. de 2014
Editada: Dija el 3 de Dic. de 2014
how can i calculate this equation kon=k1n1+k2n2+....kr-1nr-1

Respuestas (1)

Thorsten
Thorsten el 2 de Dic. de 2014
x = 0:N-1;
kon = sum(x.^2);

Categorías

Más información sobre Matrix Indexing en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by