%% Divide a Matrix By a Vector
% Note: This example runs only in R2016b or later. If you are using an earlier release, replace each call to the function with the equivalent step syntax. For example, myObject(x) becomes step(myObject,x).

avd = dsp.ArrayVectorDivider;
a = ones(2)
x = [2 3]'
y = avd(a, x)

% Copyright 2012 The MathWorks, Inc.