I am trying to model a differential equation including , where C is a 4 by 4 matrix, i are rows, and j are vectors. The sigma notation is crucial towards using the interaction coefficient with the proper elements in the matrix. I don't at all know what I'm doing, and have been using symsum so far but have gotten absolutely nowhere. How do I code this without getting "Subscript indices must either be real positive integers or logicals errors"?
MATLAB: Sigma notation with matrices
matricessymsum
Best Answer