HOW TO PERFORM THIS EQUATION IN MATLAB?u=∑_(i=1)^t▒(i*p_i/w)
2 次查看(过去 30 天)
显示 更早的评论
I NEED MATLAB CODING FOR THIS FORMULA
1 个评论
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
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!