calculate an equation with index

3 vues (au cours des 30 derniers jours)
Dija
Dija le 2 Déc 2014
Modifié(e) : Dija le 3 Déc 2014
how can i calculate this equation kon=k1n1+k2n2+....kr-1nr-1
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 2 Déc 2014
This equation?

Connectez-vous pour commenter.

Réponses (1)

Thorsten
Thorsten le 2 Déc 2014
x = 0:N-1;
kon = sum(x.^2);
  1 commentaire
Thorsten
Thorsten le 2 Déc 2014
What is your value of N?

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by