round

round Round towards nearest integer. round(X) rounds the elements of X to the nearest integers. See also floor, ceil, fix. Syntax Y = round(X) Description Y = round(X) rounds the…
Continue Reading

accumarray

Construct array with accumulation Syntax A = accumarray(subs,val) A = accumarray(subs,val,sz) A = accumarray(subs,val,sz,fun) A = accumarray(subs,val,sz,fun,fillval) A = accumarray(subs,val,sz,fun,fillval,issparse) A = accumarray({subs1, subs2, ...}, val, ...) Description accumarray groups…
Continue Reading

abs

Absolute value and complex magnitude Syntax abs(X) Description abs(X) returns an array Y such that each element of Y is the absolute value of the corresponding element of X. If…
Continue Reading

case

case SWITCH statement case. case is part of the SWITCH statement syntax, whose general form is: SWITCH switch_expr case case_expr, statement, ..., statement case {case_expr1, case_expr2, case_expr3,...} statement, ..., statement…
Continue Reading