summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorSunil Shetye2018-07-27 10:34:20 +0530
committerSunil Shetye2018-07-27 16:46:24 +0530
commitffed8ae73e782a7d7d7d37b0e40537b1cc5796f0 (patch)
tree31cb30c617523c522e3c6846a10d64c270aef061 /macros
parent6011540ce239922c0723ff2f1534e915b420cd1f (diff)
downloadFOSSEE-Signal-Processing-Toolbox-ffed8ae73e782a7d7d7d37b0e40537b1cc5796f0.tar.gz
FOSSEE-Signal-Processing-Toolbox-ffed8ae73e782a7d7d7d37b0e40537b1cc5796f0.tar.bz2
FOSSEE-Signal-Processing-Toolbox-ffed8ae73e782a7d7d7d37b0e40537b1cc5796f0.zip
Remove dependency on FOSSEE_Scilab_Octave_Interface_Toolbox
Diffstat (limited to 'macros')
-rw-r--r--macros/peig.sci3
-rw-r--r--macros/pmusic.sci3
-rw-r--r--macros/prepad.sci2
-rw-r--r--macros/rooteig.sci2
-rw-r--r--macros/rootmusic.sci4
5 files changed, 2 insertions, 12 deletions
diff --git a/macros/peig.sci b/macros/peig.sci
index b4157d7..ab8bf00 100644
--- a/macros/peig.sci
+++ b/macros/peig.sci
@@ -84,9 +84,6 @@ function [S,f,v,e] = peig(varargin)
funcprot(0);
- //exec('/home/shashi/Desktop/FOSSEE-Signal-Processing-Toolbox-master/macros/subspaceMethodsInputParser.sci',-1);
- // exec('/home/shashi/Desktop/FOSSEE-Signal-Processing-Toolbox-master/macros/musicBase.sci',-1);
-
[data, msg, err_num] = subspaceMethodsInputPars(varargin);
if length(msg)==0 then
diff --git a/macros/pmusic.sci b/macros/pmusic.sci
index 7cc788a..986138a 100644
--- a/macros/pmusic.sci
+++ b/macros/pmusic.sci
@@ -85,9 +85,6 @@ function varargout = pmusic(varargin)
funcprot(0);
- //exec /home/shashi/Desktop/FOSSEE-Signal-Processing-Toolbox-master/macros/subspaceMethodsInputParser.sci
- //exec('/home/shashi/Desktop/FOSSEE-Signal-Processing-Toolbox-master/macros/musicBase.sci',-1);
-
[numOutArgs,numInArgs] = argn(0);
// check number of output arguments
diff --git a/macros/prepad.sci b/macros/prepad.sci
index ccbbddd..52d9746 100644
--- a/macros/prepad.sci
+++ b/macros/prepad.sci
@@ -50,7 +50,7 @@ function y = prepad (x, l, c, dim)
sz = size (x);
if (argn(2) < 4)
// Find the first non-singleton dimension.
- (dim == find (sz > 1, 1)) | (dim == 1);
+ dim = find (sz > 1, 1)
else
if (~(isscalar (dim) & dim == fix (dim) & dim >= 1))
error ("prepad: DIM must be an integer and a valid dimension");
diff --git a/macros/rooteig.sci b/macros/rooteig.sci
index 1b3196e..4acd2e4 100644
--- a/macros/rooteig.sci
+++ b/macros/rooteig.sci
@@ -48,7 +48,7 @@ function [w,pow] = rooteig(x,p,varargin)
//
// n=0:99;
// s=exp(1*%i*%pi/2*n)+2*exp(1*%i*%pi/4*n)+exp(1*%i*%pi/3*n)+rand(1,100,"normal");
-// exec('/home/shashi/Downloads/FOSSEE-Signal-Processing-Toolbox-master/macros/corrmtx.sci',-1);//EXECUTE CORRMTX FUNCTION PRIOR EXECUTING THIS FUNCTION
+//EXECUTE CORRMTX FUNCTION PRIOR EXECUTING THIS FUNCTION
// X = corrmtx(s,12,'mod');
// [W,P] = rooteig(X,3);
//
diff --git a/macros/rootmusic.sci b/macros/rootmusic.sci
index 0efe89f..77c582f 100644
--- a/macros/rootmusic.sci
+++ b/macros/rootmusic.sci
@@ -73,10 +73,6 @@ function [w,pow] = rootmusic(x,p,varargin)
funcprot(0);
- //exec('/home/shashi/Desktop/FOSSEE-Signal-Processing-Toolbox-master/macros/musicBase.sci',-1);
- //exec('/home/shashi/Desktop/FOSSEE-Signal-Processing-Toolbox-master/macros/nnls.sci',-1);
-
-
// **** checking the number of input and output arguments ****
[numOutArgs, numInArgs] = argn(0);