prod(m)

The prod(m) function returns the product of each column in the matrix

Example

OML

>> m=[-2 3;-3 -4]

-2 3

-3 -4

>> prod(m)

6 -12

Block

 

prod function