diff options
Diffstat (limited to 'macros/h1_z_deriv.sci')
-rw-r--r-- | macros/h1_z_deriv.sci | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/h1_z_deriv.sci b/macros/h1_z_deriv.sci index 65e87e8..92b9247 100644 --- a/macros/h1_z_deriv.sci +++ b/macros/h1_z_deriv.sci @@ -10,9 +10,9 @@ // Organization: FOSSEE, IIT Bombay // Email: toolbox@scilab.in function b = h1_z_deriv(n, p, ts) - // Build the vector d that holds coefficients for all the derivatives of H1(z) // The results reads d(n)*z^(1)*(d/dz)^(1)*H1(z) + d(n-1)*z^(2)*(d/dz)^(2)*H1(z) +...+ d(1)*z^(n)*(d/dz)^(n)*H1(z) + d = (-1)^n; // Vector with the derivatives of H1(z) for i= (1:n-1) d = [d 0]; // Shift result right (multiply by -z) |