File: computeLight.sci

package info (click to toggle)
scilab-plotlib 0.41-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 3,196 kB
  • sloc: xml: 3,308; makefile: 15
file content (5 lines) | stat: -rw-r--r-- 85 bytes parent folder | download | duplicates (2)
1
2
3
4
5
function [l]=computeLight(n,vect)

l=vect'*matrix(n,[3,-1]);
l=l.*(l>0);
endfunction