while using symsum function for summation of variables it showing error
Undefined function or method 'symsum' for input arguments of type 'double'.
Error in ==> cyl1 at 77
RR1=symsum(a(i)*cos(v1(i)),i,1,200);
what should i have to do for summation of double type values?