Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 159 Bytes
function plus(A,B)
%% plus(A, B)
%% This function returns the matrix sum of A times B.
%% Equivalent to A+B
return arrayfun(@(x,y) x+y, A,B)
endfunction