Skip to content
Snippets Groups Projects
castByteQC.m 277 B
Newer Older
function [tabOut] = castByteQC( code, tabIn )
%
% Routine filling an array with 'code' of type byte
%
% QC code are of type Byte in the NetCdf File
% Tab storing th QC code must be of type Byte.
 tabOut = uint8(code) * uint8( ones(size(tabIn) ));