Product
Syntax: |
s = PROD(x)
|
The PROD
function only accepts a vector argument, and returns the
product of the elements of that vector. The result is a scalar value.
Example
Suppose X = [1;2;3;4;5;6;7;8;9;10]
, then A = PROD(X)
returns scalar A
with the value 3.6288e+06
.