Dear all, I have 3 cell elements and vector with 1*10 ( this is just part of 100 elements of cell). what I want elements in cell 1 equal the value.
s={[1,9,7,4][2,6,4][3,4]};a=[ 1 0 0.5 2 1 4 5 2 3 4];re_cell1= 1+3+5+2re_cell2= 0+4+2re_cell3= 0.5+2results=[11 6 2.5];
Thanks a lot. I will appreciate it.
Best Answer