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.

jacques.grelet_ird.fr
committed
tabOut = int8(code) * int8( ones(size(tabIn) ));