summaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
authorrupak192020-04-22 17:41:02 +0530
committerrupak192020-04-22 17:41:02 +0530
commitebaf2d3f27b386ebcd2fbd511a9868ee842cac3f (patch)
treee8783ce2d1fcdceb16ddb32915c76535c62acce7 /macros
parentd6e8cfd86be242d0a1a09a1ef7d8b7f3d12af795 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-ebaf2d3f27b386ebcd2fbd511a9868ee842cac3f.tar.gz
FOSSEE-Signal-Processing-Toolbox-ebaf2d3f27b386ebcd2fbd511a9868ee842cac3f.tar.bz2
FOSSEE-Signal-Processing-Toolbox-ebaf2d3f27b386ebcd2fbd511a9868ee842cac3f.zip
Minor corrections in macros sci files
Diffstat (limited to 'macros')
-rw-r--r--macros/blackmannuttall.sci2
-rw-r--r--macros/dutycycle.sci2
-rw-r--r--macros/falltime.sci2
-rw-r--r--macros/fftshift1.sci3
-rw-r--r--macros/hamming.sci2
-rw-r--r--macros/hanning.sci2
-rw-r--r--macros/midcross.sci2
-rw-r--r--macros/nnls.sci2
-rw-r--r--macros/nuttallwin.sci2
-rw-r--r--macros/pulseperiod.sci2
-rw-r--r--macros/pulsesep.sci2
-rw-r--r--macros/pulsewidth.sci2
-rw-r--r--macros/risetime.sci2
-rw-r--r--macros/slewrate.sci2
14 files changed, 14 insertions, 15 deletions
diff --git a/macros/blackmannuttall.sci b/macros/blackmannuttall.sci
index 674afe9..6719fde 100644
--- a/macros/blackmannuttall.sci
+++ b/macros/blackmannuttall.sci
@@ -44,7 +44,7 @@ function w = blackmannuttall (m, opt)
case "symmetric"
N = m-1;
else
- error ('nuttallwin: window type must be either periodic or symmetric");
+ error ("nuttallwin: window type must be either periodic or symmetric");
end
end
diff --git a/macros/dutycycle.sci b/macros/dutycycle.sci
index 1938453..b3d23f3 100644
--- a/macros/dutycycle.sci
+++ b/macros/dutycycle.sci
@@ -140,7 +140,7 @@ if (~isempty(sindex)) then
case {'TOLERANCE'}
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);
diff --git a/macros/falltime.sci b/macros/falltime.sci
index b2e436a..adcbcdd 100644
--- a/macros/falltime.sci
+++ b/macros/falltime.sci
@@ -193,7 +193,7 @@ if (~isempty(sindex)) then
case {'TOLERANCE'}
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);
diff --git a/macros/fftshift1.sci b/macros/fftshift1.sci
index 9026025..cdff99a 100644
--- a/macros/fftshift1.sci
+++ b/macros/fftshift1.sci
@@ -18,8 +18,7 @@ function y= fftshift1(X,DIM)
//
//If X is a matrix, the same holds for rows and columns. If X is an array, then the same holds along each dimension.
//
-//The optional DIM argument can be used to limit the dimension along
- which the permutation occurs.
+//The optional DIM argument can be used to limit the dimension along which the permutation occurs.
rhs= argn(2);
if(rhs <1 | rhs >2)
error('Wrong number of Input arguments');
diff --git a/macros/hamming.sci b/macros/hamming.sci
index 79d97fa..2019dbd 100644
--- a/macros/hamming.sci
+++ b/macros/hamming.sci
@@ -19,7 +19,7 @@ function c = hamming (m, opt)
case "symmetric"
//Default option, same as no option specified.
else
- error ('hamming: window type must be either periodic or symmetric");
+ error ("hamming: window type must be either periodic or symmetric");
end
end
diff --git a/macros/hanning.sci b/macros/hanning.sci
index e206eaf..dcedcd4 100644
--- a/macros/hanning.sci
+++ b/macros/hanning.sci
@@ -19,7 +19,7 @@ function c = hanning (m, opt)
case "symmetric"
//Default option, same as no option specified.
else
- error ('hanning: window type must be either periodic or symmetric");
+ error ("hanning: window type must be either periodic or symmetric");
end
end
diff --git a/macros/midcross.sci b/macros/midcross.sci
index 445e5f4..6d174ef 100644
--- a/macros/midcross.sci
+++ b/macros/midcross.sci
@@ -249,7 +249,7 @@ if (~isempty(index)) then
case {'TOLERANCE'}
if length(varargin) <=index(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(index(j)+1))==1 then
tolerance= varargin(index(j)+1);
diff --git a/macros/nnls.sci b/macros/nnls.sci
index 46554e9..5724c22 100644
--- a/macros/nnls.sci
+++ b/macros/nnls.sci
@@ -43,7 +43,7 @@ function [x,w] = nnls(E,f)
while or(z(P)<=0)
iter = iter+1;
- if iter>iterM`ax then
+ if iter>iterMax then
x = z;
return;
end
diff --git a/macros/nuttallwin.sci b/macros/nuttallwin.sci
index a7090ad..d7dbd39 100644
--- a/macros/nuttallwin.sci
+++ b/macros/nuttallwin.sci
@@ -19,7 +19,7 @@ function w = nuttallwin (m, opt)
case "symmetric"
N = m-1;
else
- error ('nuttallwin: window type must be either periodic or symmetric");
+ error ("nuttallwin: window type must be either periodic or symmetric");
end
end
diff --git a/macros/pulseperiod.sci b/macros/pulseperiod.sci
index 0e986a1..c2b8473 100644
--- a/macros/pulseperiod.sci
+++ b/macros/pulseperiod.sci
@@ -120,7 +120,7 @@ if (~isempty(sindex)) then
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);
diff --git a/macros/pulsesep.sci b/macros/pulsesep.sci
index df85e80..ca14280 100644
--- a/macros/pulsesep.sci
+++ b/macros/pulsesep.sci
@@ -116,7 +116,7 @@ if (~isempty(sindex)) then
case {'TOLERANCE'}
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);
diff --git a/macros/pulsewidth.sci b/macros/pulsewidth.sci
index 6e46484..fe033b4 100644
--- a/macros/pulsewidth.sci
+++ b/macros/pulsewidth.sci
@@ -122,7 +122,7 @@ if (~isempty(sindex)) then
case {'TOLERANCE'}
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);
diff --git a/macros/risetime.sci b/macros/risetime.sci
index e39396f..6c6e90b 100644
--- a/macros/risetime.sci
+++ b/macros/risetime.sci
@@ -194,7 +194,7 @@ if (~isempty(sindex)) then
case {'TOLERANCE'}
//disp('jitend')
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);
diff --git a/macros/slewrate.sci b/macros/slewrate.sci
index 544bd28..8a5ac04 100644
--- a/macros/slewrate.sci
+++ b/macros/slewrate.sci
@@ -213,7 +213,7 @@ if (~isempty(sindex)) then
case {'TOLERANCE'}
if length(varargin) <=sindex(j) then
- error(strcat(['parameter Tolerance required a value"]));
+ error(strcat(["parameter Tolerance required a value"]));
elseif type(varargin(sindex(j)+1))==1 then
tolerance= varargin(sindex(j)+1);