Problem writing Summation code
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi all,
I'm having problems writing a summation code for my thesis. The required summation is at http://i.imgur.com/yGMcc79.png
I've tried following the MATLAB help pages but am getting nowhere.
Thanks in advance,
James
댓글 수: 0
채택된 답변
Lokesh Ravindranathan
2013년 6월 23일
L = 1:10; % Assuming L
d = linspace(2,3,10); % Assuming d
n = sum(l .* (log10(d))) / (10 * sum((log10(d)).^2))
This is an approximate solution. I am assuming N = 10 and L and d are vectors.
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!