I am getting an error I can't understand.
I attached the code and a photo.
thanks!
clear allclose allclcm=5; %number of groups
n=10 %size of each group
sz=[m n];sum=0;G=0+(100-0)*rand([sz]);G1=G(1,:);sum(G1);
MATLABsum function
clear allclose allclcm=5; %number of groups
n=10 %size of each group
sz=[m n];sum=0;G=0+(100-0)*rand([sz]);G1=G(1,:);sum(G1);
Best Answer