How to enter an equation with a summation?

조회 수: 2 (최근 30일)
Md.
Md. 2014년 6월 4일
편집: Roger Wohlwend 2014년 6월 4일
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.

답변 (1개)

Roger Wohlwend
Roger Wohlwend 2014년 6월 4일
편집: Roger Wohlwend 2014년 6월 4일
V(i,j) = sum(log(D(i,:)./D(j,:))) / (2*pi*e)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by