フィルターのクリア

Problem writing Summation code

1 回表示 (過去 30 日間)
James Mathew
James Mathew 2013 年 6 月 23 日
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

採用された回答

Lokesh Ravindranathan
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.

その他の回答 (1 件)

James Mathew
James Mathew 2013 年 6 月 25 日
Thanks for your help.
James

カテゴリ

Help Center および File ExchangeMathematics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by