summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/utils
diff options
context:
space:
mode:
authorTom Rondeau <trondeau@vt.edu>2012-04-13 18:36:53 -0400
committerTom Rondeau <trondeau@vt.edu>2012-04-13 18:36:53 -0400
commitf919f9dcbb54a08e6e26d6c229ce92fb784fa1b2 (patch)
tree7e846386b9eb1676f9a93fc4a1e55916b9accc97 /gnuradio-core/src/utils
parent6a1e9783fec6ed827f49db27c171591d30f32933 (diff)
Removed whitespace and added dtools/bin/remove-whitespace as a tool to do this in the future.
The sed script was provided by Moritz Fischer.
Diffstat (limited to 'gnuradio-core/src/utils')
-rw-r--r--gnuradio-core/src/utils/cic_comp_taps.m10
-rw-r--r--gnuradio-core/src/utils/cool.m4
-rw-r--r--gnuradio-core/src/utils/db_width.m8
-rw-r--r--gnuradio-core/src/utils/filter_tools.m12
-rw-r--r--gnuradio-core/src/utils/is_complex.m10
-rw-r--r--gnuradio-core/src/utils/lp_to_bp.m10
-rw-r--r--gnuradio-core/src/utils/partition-cascaded-decimating-filters.scm3
-rw-r--r--gnuradio-core/src/utils/plot_cic_decimator_response.m11
-rw-r--r--gnuradio-core/src/utils/plot_freq_response.m10
-rw-r--r--gnuradio-core/src/utils/plot_freq_response_db.m10
-rw-r--r--gnuradio-core/src/utils/plot_freq_response_phase.m10
-rw-r--r--gnuradio-core/src/utils/plotfft.m8
-rw-r--r--gnuradio-core/src/utils/plotfftavgk.m10
-rw-r--r--gnuradio-core/src/utils/plotfftavgk_db.m12
-rw-r--r--gnuradio-core/src/utils/plotfftk.m10
-rw-r--r--gnuradio-core/src/utils/plotfftk_db.m10
-rw-r--r--gnuradio-core/src/utils/put_markers.m10
-rw-r--r--gnuradio-core/src/utils/rainbow.m4
-rw-r--r--gnuradio-core/src/utils/read_char_binary.m10
-rw-r--r--gnuradio-core/src/utils/read_complex_binary.m12
-rw-r--r--gnuradio-core/src/utils/read_cshort_binary.m10
-rw-r--r--gnuradio-core/src/utils/read_float_binary.m10
-rw-r--r--gnuradio-core/src/utils/read_int_binary.m10
-rw-r--r--gnuradio-core/src/utils/read_short_binary.m10
-rw-r--r--gnuradio-core/src/utils/read_xambi.m10
-rw-r--r--gnuradio-core/src/utils/single_pole_iir.m10
-rw-r--r--gnuradio-core/src/utils/split_vect.m2
-rw-r--r--gnuradio-core/src/utils/write_float_binary.m10
-rw-r--r--gnuradio-core/src/utils/write_short_binary.m10
29 files changed, 132 insertions, 134 deletions
diff --git a/gnuradio-core/src/utils/cic_comp_taps.m b/gnuradio-core/src/utils/cic_comp_taps.m
index e0e0c2ebdf..9ae5cb1674 100644
--- a/gnuradio-core/src/utils/cic_comp_taps.m
+++ b/gnuradio-core/src/utils/cic_comp_taps.m
@@ -1,23 +1,23 @@
#
# Copyright 2008 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
# See Altera Application Note AN455
#
diff --git a/gnuradio-core/src/utils/cool.m b/gnuradio-core/src/utils/cool.m
index e996a3a9fc..f8b8a5cea6 100644
--- a/gnuradio-core/src/utils/cool.m
+++ b/gnuradio-core/src/utils/cool.m
@@ -16,7 +16,7 @@
%% -*- texinfo -*-
%% @deftypefn {Function File} {} cool (@var{n})
-%% Create color colormap.
+%% Create color colormap.
%% (cyan to magenta)
%% The argument @var{n} should be a scalar. If it
%% is omitted, the length of the current colormap or 64 is assumed.
@@ -38,7 +38,7 @@ function map = cool (number)
end
if (number == 1)
- map = [0, 1, 1];
+ map = [0, 1, 1];
elseif (number > 1)
r = (0:number - 1)' ./ (number - 1);
g = 1 - r;
diff --git a/gnuradio-core/src/utils/db_width.m b/gnuradio-core/src/utils/db_width.m
index 204005c010..e9c64cc795 100644
--- a/gnuradio-core/src/utils/db_width.m
+++ b/gnuradio-core/src/utils/db_width.m
@@ -1,18 +1,18 @@
%
% Copyright 2001 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
diff --git a/gnuradio-core/src/utils/filter_tools.m b/gnuradio-core/src/utils/filter_tools.m
index 6368edf5dc..552791e334 100644
--- a/gnuradio-core/src/utils/filter_tools.m
+++ b/gnuradio-core/src/utils/filter_tools.m
@@ -1,23 +1,23 @@
%
% Copyright 2001 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
%% equivalent to the C++ code in VrComplexFIRfilter::buildFilterComplex
1;
@@ -36,7 +36,7 @@ end
function new_taps = freq_shift_filter (old_taps, center_freq)
ntaps = length(old_taps);
-
+
new_taps = exp (j*2*pi*center_freq*(0:ntaps-1)') .* old_taps;
end
diff --git a/gnuradio-core/src/utils/is_complex.m b/gnuradio-core/src/utils/is_complex.m
index ce9a7010f2..4700467b15 100644
--- a/gnuradio-core/src/utils/is_complex.m
+++ b/gnuradio-core/src/utils/is_complex.m
@@ -1,23 +1,23 @@
#
# Copyright 2004 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function p = is_complex (x)
p = any (imag (x) != 0);
diff --git a/gnuradio-core/src/utils/lp_to_bp.m b/gnuradio-core/src/utils/lp_to_bp.m
index e4ef3178db..4e73f6cc73 100644
--- a/gnuradio-core/src/utils/lp_to_bp.m
+++ b/gnuradio-core/src/utils/lp_to_bp.m
@@ -1,23 +1,23 @@
#
# Copyright 2002 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
## transform low pass coefficients into bandpass coefficients
diff --git a/gnuradio-core/src/utils/partition-cascaded-decimating-filters.scm b/gnuradio-core/src/utils/partition-cascaded-decimating-filters.scm
index 598f79d8c3..6ae7877f9b 100644
--- a/gnuradio-core/src/utils/partition-cascaded-decimating-filters.scm
+++ b/gnuradio-core/src/utils/partition-cascaded-decimating-filters.scm
@@ -1,7 +1,7 @@
;; Estimate the total work (ntaps * sampling rate) for two cascaded
;; decimating low pass filters.
;;
-;; The basic assumption is that the number of taps required in any
+;; The basic assumption is that the number of taps required in any
;; section is inversely proportional to the normalized transition width
;; for that section.
;;
@@ -65,4 +65,3 @@
(define (extract-nth n lst)
lst)
- \ No newline at end of file
diff --git a/gnuradio-core/src/utils/plot_cic_decimator_response.m b/gnuradio-core/src/utils/plot_cic_decimator_response.m
index 50d85e4136..8f06aeafed 100644
--- a/gnuradio-core/src/utils/plot_cic_decimator_response.m
+++ b/gnuradio-core/src/utils/plot_cic_decimator_response.m
@@ -1,23 +1,23 @@
#
# Copyright 2004 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plot_cic_decimator_response (R, N, M)
## R = decimation rate
@@ -42,4 +42,3 @@ function plot_cic_decimator_response (R, N, M)
endfunction
- \ No newline at end of file
diff --git a/gnuradio-core/src/utils/plot_freq_response.m b/gnuradio-core/src/utils/plot_freq_response.m
index 032d989612..335c51d626 100644
--- a/gnuradio-core/src/utils/plot_freq_response.m
+++ b/gnuradio-core/src/utils/plot_freq_response.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plot_freq_response (b,...)
if (nargin == 1)
diff --git a/gnuradio-core/src/utils/plot_freq_response_db.m b/gnuradio-core/src/utils/plot_freq_response_db.m
index 6cd9bbfc2b..10ce7d6e17 100644
--- a/gnuradio-core/src/utils/plot_freq_response_db.m
+++ b/gnuradio-core/src/utils/plot_freq_response_db.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plot_freq_response_db (b,...)
if (nargin == 1)
diff --git a/gnuradio-core/src/utils/plot_freq_response_phase.m b/gnuradio-core/src/utils/plot_freq_response_phase.m
index c593d5dd35..591bd5b948 100644
--- a/gnuradio-core/src/utils/plot_freq_response_phase.m
+++ b/gnuradio-core/src/utils/plot_freq_response_phase.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plot_freq_response_db (b,...)
if (nargin == 1)
diff --git a/gnuradio-core/src/utils/plotfft.m b/gnuradio-core/src/utils/plotfft.m
index ddb8d9de47..20a2efd4c2 100644
--- a/gnuradio-core/src/utils/plotfft.m
+++ b/gnuradio-core/src/utils/plotfft.m
@@ -1,18 +1,18 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
diff --git a/gnuradio-core/src/utils/plotfftavgk.m b/gnuradio-core/src/utils/plotfftavgk.m
index afe9aae5bc..c82c540f39 100644
--- a/gnuradio-core/src/utils/plotfftavgk.m
+++ b/gnuradio-core/src/utils/plotfftavgk.m
@@ -1,23 +1,23 @@
#
# Copyright 2002 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plotfftavgk_db (all_data, k, sample_rate)
diff --git a/gnuradio-core/src/utils/plotfftavgk_db.m b/gnuradio-core/src/utils/plotfftavgk_db.m
index 420ee9fad6..73cee140d0 100644
--- a/gnuradio-core/src/utils/plotfftavgk_db.m
+++ b/gnuradio-core/src/utils/plotfftavgk_db.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plotfftavgk_db (all_data, k, sample_rate)
@@ -62,7 +62,7 @@ function plotfftavgk_db (all_data, k, sample_rate)
x = min_x:incr:max_x;
y = 20 * log10(s(1:len/2));
plot (x, y);
-
+
endif;
diff --git a/gnuradio-core/src/utils/plotfftk.m b/gnuradio-core/src/utils/plotfftk.m
index 94a8ffb773..df2bf3aca0 100644
--- a/gnuradio-core/src/utils/plotfftk.m
+++ b/gnuradio-core/src/utils/plotfftk.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plotfftk (all_data, k, sample_rate)
diff --git a/gnuradio-core/src/utils/plotfftk_db.m b/gnuradio-core/src/utils/plotfftk_db.m
index 9ec981ac5c..b2c85412f7 100644
--- a/gnuradio-core/src/utils/plotfftk_db.m
+++ b/gnuradio-core/src/utils/plotfftk_db.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function plotfftk_db (all_data, k, sample_rate)
diff --git a/gnuradio-core/src/utils/put_markers.m b/gnuradio-core/src/utils/put_markers.m
index 250702ce6a..1244d31aaf 100644
--- a/gnuradio-core/src/utils/put_markers.m
+++ b/gnuradio-core/src/utils/put_markers.m
@@ -1,23 +1,23 @@
#
# Copyright 2002 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function put_markers (y)
diff --git a/gnuradio-core/src/utils/rainbow.m b/gnuradio-core/src/utils/rainbow.m
index 9b16aab25f..35fab19b89 100644
--- a/gnuradio-core/src/utils/rainbow.m
+++ b/gnuradio-core/src/utils/rainbow.m
@@ -16,7 +16,7 @@
## -*- texinfo -*-
## @deftypefn {Function File} {} rainbow (@var{n})
-## Create color colormap.
+## Create color colormap.
## (red through yellow, green, cyan,blue,magenta to red)
## The argument @var{n} should be a scalar. If it
## is omitted, the length of the current colormap or 64 is assumed.
@@ -42,7 +42,7 @@ function map = rainbow (number)
endif
if (number == 1)
- map = [1, 0, 0];
+ map = [1, 0, 0];
elseif (number > 1)
h = linspace (0, 1, number)';
map = hsv2rgb ([h, ones(number, 1), ones(number, 1)]);
diff --git a/gnuradio-core/src/utils/read_char_binary.m b/gnuradio-core/src/utils/read_char_binary.m
index 27044b447a..029cea7834 100644
--- a/gnuradio-core/src/utils/read_char_binary.m
+++ b/gnuradio-core/src/utils/read_char_binary.m
@@ -1,23 +1,23 @@
%
% Copyright 2001 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
function v = read_char_binary (filename, count)
diff --git a/gnuradio-core/src/utils/read_complex_binary.m b/gnuradio-core/src/utils/read_complex_binary.m
index 67158b5288..eb81f0fa08 100644
--- a/gnuradio-core/src/utils/read_complex_binary.m
+++ b/gnuradio-core/src/utils/read_complex_binary.m
@@ -1,29 +1,29 @@
%
% Copyright 2001 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
function v = read_complex_binary (filename, count)
%% usage: read_complex_binary (filename, [count])
%%
- %% open filename and return the contents as a column vector,
+ %% open filename and return the contents as a column vector,
%% treating them as 32 bit complex numbers
%%
diff --git a/gnuradio-core/src/utils/read_cshort_binary.m b/gnuradio-core/src/utils/read_cshort_binary.m
index 0470671073..149b6ca88c 100644
--- a/gnuradio-core/src/utils/read_cshort_binary.m
+++ b/gnuradio-core/src/utils/read_cshort_binary.m
@@ -1,23 +1,23 @@
%
% Copyright 2001,2008 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
function cv = read_cshort_binary (filename, count)
diff --git a/gnuradio-core/src/utils/read_float_binary.m b/gnuradio-core/src/utils/read_float_binary.m
index 69d0640967..d27d09b9c1 100644
--- a/gnuradio-core/src/utils/read_float_binary.m
+++ b/gnuradio-core/src/utils/read_float_binary.m
@@ -1,23 +1,23 @@
%
% Copyright 2001 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
function v = read_float_binary (filename, count)
diff --git a/gnuradio-core/src/utils/read_int_binary.m b/gnuradio-core/src/utils/read_int_binary.m
index 821f68829e..cd83bb6636 100644
--- a/gnuradio-core/src/utils/read_int_binary.m
+++ b/gnuradio-core/src/utils/read_int_binary.m
@@ -1,23 +1,23 @@
%
% Copyright 2001,2002 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
function v = read_int_binary (filename, count)
diff --git a/gnuradio-core/src/utils/read_short_binary.m b/gnuradio-core/src/utils/read_short_binary.m
index 92720856af..7b42f5e2be 100644
--- a/gnuradio-core/src/utils/read_short_binary.m
+++ b/gnuradio-core/src/utils/read_short_binary.m
@@ -1,23 +1,23 @@
%
% Copyright 2001 Free Software Foundation, Inc.
-%
+%
% This file is part of GNU Radio
-%
+%
% GNU Radio is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 3, or (at your option)
% any later version.
-%
+%
% GNU Radio is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
-%
+%
% You should have received a copy of the GNU General Public License
% along with GNU Radio; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 51 Franklin Street,
% Boston, MA 02110-1301, USA.
-%
+%
function v = read_short_binary (filename, count)
diff --git a/gnuradio-core/src/utils/read_xambi.m b/gnuradio-core/src/utils/read_xambi.m
index ac5bf389b0..5adb94264e 100644
--- a/gnuradio-core/src/utils/read_xambi.m
+++ b/gnuradio-core/src/utils/read_xambi.m
@@ -1,23 +1,23 @@
#
# Copyright 2001,2005 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function v = read_xambi (filename)
diff --git a/gnuradio-core/src/utils/single_pole_iir.m b/gnuradio-core/src/utils/single_pole_iir.m
index 8ff4c3247c..12e21f2acf 100644
--- a/gnuradio-core/src/utils/single_pole_iir.m
+++ b/gnuradio-core/src/utils/single_pole_iir.m
@@ -1,23 +1,23 @@
#
# Copyright 2002 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function [b, a] = single_pole_iir (alpha)
b = [alpha];
diff --git a/gnuradio-core/src/utils/split_vect.m b/gnuradio-core/src/utils/split_vect.m
index c492581e40..aef5c5c383 100644
--- a/gnuradio-core/src/utils/split_vect.m
+++ b/gnuradio-core/src/utils/split_vect.m
@@ -3,7 +3,7 @@
function y = split_vect(vect,N)
Z = floor(max(size(vect))/N);
y = [];
- if(size(vect)(1)>size(vect)(2))
+ if(size(vect)(1)>size(vect)(2))
v = vect';
else
v = vect;
diff --git a/gnuradio-core/src/utils/write_float_binary.m b/gnuradio-core/src/utils/write_float_binary.m
index 99f3757900..79414878b6 100644
--- a/gnuradio-core/src/utils/write_float_binary.m
+++ b/gnuradio-core/src/utils/write_float_binary.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function v = write_float_binary (data, filename)
diff --git a/gnuradio-core/src/utils/write_short_binary.m b/gnuradio-core/src/utils/write_short_binary.m
index 0266e434b9..72b3c408eb 100644
--- a/gnuradio-core/src/utils/write_short_binary.m
+++ b/gnuradio-core/src/utils/write_short_binary.m
@@ -1,23 +1,23 @@
#
# Copyright 2001 Free Software Foundation, Inc.
-#
+#
# This file is part of GNU Radio
-#
+#
# GNU Radio is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
-#
+#
# GNU Radio is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
-#
+#
# You should have received a copy of the GNU General Public License
# along with GNU Radio; see the file COPYING. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street,
# Boston, MA 02110-1301, USA.
-#
+#
function v = write_short_binary (data, filename)