File: nonParametricDiffDeriv.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 (10 lines) | stat: -rw-r--r-- 168 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
function [zu,zv]=nonParametricDiffDeriv(theSurf,u,v,z)

h=1e-7;
[zu]=theSurf(u+h,v+%eps);
[zv]=theSurf(u+%eps,v+h);

zu=(zu(:)-z(:))/h;
zv=(zv(:)-z(:))/h;

endfunction