i want to extract matrix

total data 25 array

`%km = 72x1 (matrix)`

for x=1:25cx = Km(x,1)+Km(x+1,1)+Km(x+6,1)+Km(x+7,1)+Km(x+36,1)+Km(x+37,1)+Km(x+42,1)+Km(x+43,1);end

but there is only one result

my purpose is write c1,c2,c3,…,… until c25

anyone could help me

## Best Answer