|
From: | Ismael Núñez-Riboni |
Subject: | Re: Nearest neighbor interpolation. |
Date: | Fri, 20 Apr 2012 14:27:09 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 |
It would be good programming practice to initialize b beforehand: b = zeros (size (a)); -- should this be b=zeros(size(a).*2 -1)
Actually yes, probably it is better as Doug says, depending if you want a column and line of zeros at the end or not...
[Prev in Thread] | Current Thread | [Next in Thread] |