fn_subtract

Contents

Syntax

y=fn_subtract(u,v)

Description

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

Source

Thomas Deneux

Copyright 2012-2017