summaryrefslogtreecommitdiff
path: root/macros/h1_z_deriv.sci
diff options
context:
space:
mode:
authorRashmi Patankar2025-04-30 15:01:49 +0530
committerGitHub2025-04-30 15:01:49 +0530
commit0495a12104d8466509769fc34271757f00577709 (patch)
treecb208dd421d39051d85f4ef0476c9208ef2c41ab /macros/h1_z_deriv.sci
parenta0bff158d21c2c12a12781bc5019f3a45bd866b2 (diff)
parentec6379e7494ff4ca2dc7c7524013d109be450bae (diff)
downloadFOSSEE-Signal-Processing-Toolbox-0495a12104d8466509769fc34271757f00577709.tar.gz
FOSSEE-Signal-Processing-Toolbox-0495a12104d8466509769fc34271757f00577709.tar.bz2
FOSSEE-Signal-Processing-Toolbox-0495a12104d8466509769fc34271757f00577709.zip
Merge pull request #21 from avinashlalotra/masterHEADmaster
Fixed Failing test scripts
Diffstat (limited to 'macros/h1_z_deriv.sci')
-rw-r--r--macros/h1_z_deriv.sci2
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)