calculate an equation with index

how can i calculate this equation kon=k1n1+k2n2+....kr-1nr-1

Antworten (1)

Thorsten
Thorsten am 2 Dez. 2014

0 Stimmen

x = 0:N-1;
kon = sum(x.^2);

Kategorien

Gefragt:

am 2 Dez. 2014

Bearbeitet:

am 3 Dez. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by