calculate an equation with index

2 ビュー (過去 30 日間)
Dija
Dija 2014 年 12 月 2 日
編集済み: Dija 2014 年 12 月 3 日
how can i calculate this equation kon=k1n1+k2n2+....kr-1nr-1
  1 件のコメント
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 12 月 2 日
This equation?

サインインしてコメントする。

回答 (1 件)

Thorsten
Thorsten 2014 年 12 月 2 日
x = 0:N-1;
kon = sum(x.^2);
  1 件のコメント
Thorsten
Thorsten 2014 年 12 月 2 日
What is your value of N?

サインインしてコメントする。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by