How to enter an equation with a summation?

2 visualizaciones (últimos 30 días)
Md.
Md. el 4 de Jun. de 2014
Editada: Roger Wohlwend el 4 de Jun. de 2014
I want to enter an equation
Vij = (1/(2*π*ϵ)) ∑ ln(Djk/Dik) where the summation is from k=1 to n
K is the counter, i and j are variables that I will choose later on.
I want the equation to write itself in full form after I define n and the variable names. The result will not be an integer. As I have not defined the values for the D variables yet.

Respuestas (1)

Roger Wohlwend
Roger Wohlwend el 4 de Jun. de 2014
Editada: Roger Wohlwend el 4 de Jun. de 2014
V(i,j) = sum(log(D(i,:)./D(j,:))) / (2*pi*e)

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by