HOW TO PERFORM THIS EQUATION IN MATLAB?u=∑​_(i=1)^t▒(​i*p_i/w)

조회 수: 1 (최근 30일)
sheeba
sheeba 2013년 10월 9일
댓글: Jan 2013년 10월 9일
I NEED MATLAB CODING FOR THIS FORMULA
  댓글 수: 1
Jan
Jan 2013년 10월 9일
Uppercase means shouting in internet forums.
I see a strange character containing a lot of dots behind the "t". What does this mean?

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

채택된 답변

Ahmed
Ahmed 2013년 10월 9일
Here is a minimal example with random data. The last line is the actual answer to your question.
t = 100;
p = rand(1,t);
w = 0.5;
u = sum((1:t).*p/w)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by