Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR MATLAB

sum in matlab script

Syntax: 
S = sum(A)
S = sum(A,'all')
S = sum(A,dim)
S = sum(A,vecdim)
S = sum(___,outtype)
S = sum(___,nanflag)

A = 1:10;
S = sum(A)
output: S = 55
Source by www.mathworks.com #
 
PREVIOUS NEXT
Tagged: #sum #matlab #script
ADD COMMENT
Topic
Name
9+9 =