MATLAB: Summation with resultant vector’s index as upper limit sum Hello, I'm trying to write this summation in Matlab I couldn't find any example of this anywhere, maybe someone can help me with the syntax here. Best Answer https://de.mathworks.com/help/matlab/ref/conv.html#bucr92l-2 Related SolutionsMATLAB: Double sum of this formula Just verify once if this is the formula that you needed. You would have to define K, b and n beforehand.symsum((d(k).*symsum((K(l)*((sin(b(n-1))).^(2.*l))),l,0,(1-k))),k,1,n)Doc for Symbolic Summation : https://www.mathworks.com/help/symbolic/symbolic-summation.html MATLAB: Sum N many of the same array, which are each offset by an integer M function B = movSum(A,n,m)B=A;for k=2:n B=[B;zeros(m,1)]+[zeros((k-1)*m,1);A];endend Related QuestionVectorize a simple codeGenerate all possible combinations for the column vectors of a matrix
Best Answer