summaryrefslogtreecommitdiff
path: root/macros/pchip.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/pchip.sci
parenta0bff158d21c2c12a12781bc5019f3a45bd866b2 (diff)
parentec6379e7494ff4ca2dc7c7524013d109be450bae (diff)
downloadFOSSEE-Signal-Processing-Toolbox-master.tar.gz
FOSSEE-Signal-Processing-Toolbox-master.tar.bz2
FOSSEE-Signal-Processing-Toolbox-master.zip
Merge pull request #21 from avinashlalotra/masterHEADmaster
Fixed Failing test scripts
Diffstat (limited to 'macros/pchip.sci')
-rw-r--r--macros/pchip.sci7
1 files changed, 0 insertions, 7 deletions
diff --git a/macros/pchip.sci b/macros/pchip.sci
index 184fb8b..36c9942 100644
--- a/macros/pchip.sci
+++ b/macros/pchip.sci
@@ -1,18 +1,13 @@
function v = pchip(x,y,xx)
-
//this function returns piecewise cubic hermite interpolating polynomial.
-
// Calling Sequence
// d=pchip(x,y)
// d= pchip(X,,y,xx)
-
-
// Parameters
// x: a vector
// y: if Y is vector then it must have the same length as x and Y is matrix then the last dimension of Y must equal length(X).
// xx: Points for interpolation
// v: vector of interpolantant at xx
-
//// Examples
// x=[0 1 2 3 4 5]
// y=[1 0 1 0 1 0]
@@ -20,10 +15,8 @@ function v = pchip(x,y,xx)
// v=pchip(x, y)
// v=pchip(x,y,xx)
//plot(x,y,xx,v,'o')
-
// Authors
// Jitendra Singh
-
// NOTE:execute function "pchips" prior executing this function