- refactored variable
git-svn-id: http://moon:8086/svn/software/trunk/projects/GnuRadio@450 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -131,13 +131,13 @@ for k=1:numFrames
|
||||
% Sort peaks
|
||||
[v, n] = sort((X-Xm)(peak_pos), 'descend');
|
||||
|
||||
peak_cand_sorted = peak_pos(n);
|
||||
peak_pos_sorted = peak_pos(n);
|
||||
|
||||
% Construct peak boxes
|
||||
peak_pos = [];
|
||||
peak_boxes_rel = zeros(1, Nh);
|
||||
peak_boxes_abs = zeros(1, Nh);
|
||||
for x = peak_cand_sorted,
|
||||
for x = peak_pos_sorted,
|
||||
|
||||
% Find peak widths
|
||||
left = x;
|
||||
|
||||
Reference in New Issue
Block a user