fn_mult

Contents

Syntax

y=fn_mult(u,v,...)

Description

tool to multiply a matrix row- or column-wise
ex: y = fn_mult(rand(3,4),(1:3)')
    y = fn_mult(rand(5,2,5),shiftdim(ones(5,1),-2))
See also fn_add, fn_subtract, fn_div

Source

Thomas Deneux

Copyright 2002-2017