Hi everyone,(adsbygoogle = window.adsbygoogle || []).push({});

Could someone please tell me how to get matlab to do the following seemingly simple task..

j=1:3;

k1=1:3;

m=eye(3)

plot(j,symsum((p8+k1(j)).*m(p8,j),p8,1,3))

or,

k=1:3;

plot(j,sum((k+k1(j)).*m(k,j)))

Thanks for any suggestions,

Kate

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Matlab plotting and summation

**Physics Forums | Science Articles, Homework Help, Discussion**