Hey,
I want to transform the vector x into a Matrix A with 4 columns.
I want to do that since I want to build a function, which sums up every fourthed element of the vector.I guess if I would create this matrix I could just use colsum(x) and than display col4.
Any help would be great!
I want to transform the vector x into a Matrix A with 4 columns.
I want to do that since I want to build a function, which sums up every fourthed element of the vector.I guess if I would create this matrix I could just use colsum(x) and than display col4.
Any help would be great!
Comment