From: nethaji anandhavalli on
energy = summation of (modulus of d(ij) )^2 where i= 1...l and j= 1....N
pls guide me pls pls pls
From: dpb on
nethaji anandhavalli wrote:
> energy = summation of (modulus of d(ij) )^2 where i= 1...l and j= 1....N

So you come to a Matlab forum for C...right.

--
From: Dave Robinson on
"nethaji anandhavalli" <mydreamprojects(a)yahoo.com> wrote in message <hpnbr9$j3e$1(a)fred.mathworks.com>...
> energy = summation of (modulus of d(ij) )^2 where i= 1...l and j= 1....N
> pls guide me pls pls pls

If you want it in C then go to a C language forum, don't pester us here, we deal in Matlab

Regards

Dave Robinson
From: nethaji anandhavalli on
sorry
From: Walter Roberson on
nethaji anandhavalli wrote:
> energy = summation of (modulus of d(ij) )^2 where i= 1...l and j= 1....N
> pls guide me pls pls pls

Try comp.lang.c for C questions.
http://groups.google.com/groups/search?q=group:comp.lang.c&scoring=d

Note: in comp.lang.c, they are likely to point out that "modulus" in C
has to do with remainder with respect to division by a certain number,
such as 5 modulo 3 resulting in a modulus of 2. If that isn't the kind
of modulus you mean, then when you ask over in comp.lang.c you should
clarify what you _do_ mean. You should also make clear to them what your
data type is.

Also, isn't it kind of pointless for i to run from 1 to 1 ?