source:
proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/lightspeed/row_sum.m
@
177
Last change on this file since 177 was 37, checked in by , 15 years ago | |
---|---|
File size: 184 bytes |
Line | |
---|---|
1 | function s = row_sum(x) |
2 | % ROW_SUM Sum for each row. |
3 | % A faster and more readable alternative to sum(x,2). |
4 | |
5 | % unfortunately, this removes any sparseness of x. |
6 | s = x*ones(cols(x),1); |
7 |
Note: See TracBrowser
for help on using the repository browser.