add computation of tign2ros via grad function
[wrf-fire-matlab.git] / vis3d / size1.m
blob38a2c9ac00c1058cbabe8982e5ef96a73a2f8c68
1 function s=size1(a,ndim)
2 % s=size1(a,ndim)
3 % return size(a) extended by 1 to ndim dimensions
4 s=size(a);
5 s=[s,ones(1,ndim-length(s))];
6 end