필터 지우기
필터 지우기

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개)

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?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matrix Indexing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by