annotate toolboxes/FullBNT-1.0.7/KPMtools/mult_by_table.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 function bigT = mult_by_table(bigT, bigdom, bigsz, smallT, smalldom, smallsz)
wolffd@0 2 % MULT_BY_TABLE
wolffd@0 3 % bigT = mult_by_table(bigT, bigdom, bigsz, smallT, smalldom, smallsz)
wolffd@0 4 %
wolffd@0 5
wolffd@0 6 Ts = extend_domain_table(smallT, smalldom, smallsz, bigdom, bigsz);
wolffd@0 7 bigT(:) = bigT(:) .* Ts(:); % must have bigT(:) on LHS to preserve shape