Октава сумма всех элементов в матрице
# in octave, use sum(vector)
>> rowVector = [1 2 3]
rowVector =
1 2 3
>> sum(rowVector)
ans = 6
Dark Dotterel
# in octave, use sum(vector)
>> rowVector = [1 2 3]
rowVector =
1 2 3
>> sum(rowVector)
ans = 6