Filter löschen
Filter löschen

Problem writing Summation code

1 Ansicht (letzte 30 Tage)
James Mathew
James Mathew am 23 Jun. 2013
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

Akzeptierte Antwort

Lokesh Ravindranathan
Lokesh Ravindranathan am 23 Jun. 2013
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.

Weitere Antworten (1)

James Mathew
James Mathew am 25 Jun. 2013
Thanks for your help.
James

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by