DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
octave sum all elements in matrix
# in octave, use sum(vector) >> rowVector = [1 2 3] rowVector = 1 2 3 >> sum(rowVector) ans = 6
PREVIOUS
NEXT
Tagged:
#octave
#sum
#elements
#matrix
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit