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 = int8(code) * int8( ones(size(tabIn) )); end