BER calculation now correct :-/
This commit is contained in:
@@ -19,7 +19,7 @@ errorIndice= [];
|
|||||||
|
|
||||||
if length(data_ref) == length(data_in)
|
if length(data_ref) == length(data_in)
|
||||||
|
|
||||||
bits = numel(data_in(:,options.skip_front+1:end));
|
bits = numel(data_in);
|
||||||
|
|
||||||
if options.returnErrorLocation == 0
|
if options.returnErrorLocation == 0
|
||||||
errors = sum( data_in ~= data_ref,"all" );
|
errors = sum( data_in ~= data_ref,"all" );
|
||||||
|
|||||||
Reference in New Issue
Block a user