Daniel@0: function bigT = mult_by_table(bigT, bigdom, bigsz, smallT, smalldom, smallsz) Daniel@0: % MULT_BY_TABLE Daniel@0: % bigT = mult_by_table(bigT, bigdom, bigsz, smallT, smalldom, smallsz) Daniel@0: % Daniel@0: Daniel@0: Ts = extend_domain_table(smallT, smalldom, smallsz, bigdom, bigsz); Daniel@0: bigT(:) = bigT(:) .* Ts(:); % must have bigT(:) on LHS to preserve shape