source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/missing-data/lower_diagonal.m
@
37
Last change on this file since 37 was 37, checked in by , 14 years ago | |
---|---|
File size: 163 bytes |
Rev | Line | |
---|---|---|
[37] | 1 | function M = lower_diagonal(numrows,numcols) |
2 | ||
3 | M = ones(numrows,numcols); | |
4 | for i = 1:numrows | |
5 | for j = 1:numcols | |
6 | if (i < j) | |
7 | M(i,j) = 0; | |
8 | end | |
9 | end | |
10 | end |
Note: See TracBrowser
for help on using the repository browser.