projects
/
debian
/
gnuradio
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Since I'm bothering to average the error, I might as well use it.
[debian/gnuradio]
/
gnuradio-core
/
src
/
utils
/
split_vect.m
1
% split vector into packets
2
3
function y = split_vect(vect,N)
4
Z = floor(max(size(vect))/N);
5
y = [];
6
if(size(vect)(1)>size(vect)(2))
7
v = vect';
8
else
9
v = vect;
10
end
11
for i=1:Z
12
y(i,1:N) = v((i-1)*N+1:i*N);
13
end
14
end
15