Filter löschen
Filter löschen

Absolute value

10 Ansichten (letzte 30 Tage)
Nu9
Nu9 am 13 Sep. 2011
hi, i need to get the Absolute value of this:
f=(vv(1,1)-vv(1,2,1,m))+(vv(1,1)-vv(1,2,1,m))+(vv(2,1)-vv(2,2,1,m))+(vv(3,1)-vv(3,2,1,m))+(vv(4,1)-vv(4,2,1,m))+....
i need to do a sum(from 1 to 22) of absolute values of the difference -> vv(x,y)-vv(x,y,w,z)
how can i make that?

Antworten (1)

William
William am 13 Sep. 2011
Can you define "vv"? If it is composed of real numbers
fabs = abs(f)

Kategorien

Mehr zu Elementary Math 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