Mercurial > hg > mauch-mirex-2010
annotate _FullBNT/KPMtools/mult_by_table.m @ 9:4ea6619cb3f5 tip
removed log files
author | matthiasm |
---|---|
date | Fri, 11 Apr 2014 15:55:11 +0100 |
parents | b5b38998ef3b |
children |
rev | line source |
---|---|
matthiasm@8 | 1 function bigT = mult_by_table(bigT, bigdom, bigsz, smallT, smalldom, smallsz) |
matthiasm@8 | 2 % MULT_BY_TABLE |
matthiasm@8 | 3 % bigT = mult_by_table(bigT, bigdom, bigsz, smallT, smalldom, smallsz) |
matthiasm@8 | 4 % |
matthiasm@8 | 5 |
matthiasm@8 | 6 Ts = extend_domain_table(smallT, smalldom, smallsz, bigdom, bigsz); |
matthiasm@8 | 7 bigT(:) = bigT(:) .* Ts(:); % must have bigT(:) on LHS to preserve shape |