classdef receiver
    % receiver class for IEEE 802.11n tx
    %
    
    properties
        nRXant = 1;         % number receiving antennas
        fc = [];
        scheme = [];        % MCS
        output = [];
    end
    
    methods
        function obj = receiver(nRX,nRXant,fc,scheme) % class constructor
            if nargin ~= 0
                obj(nRX) = receiver;
                for ii = 1:nRX
                    obj(ii).nRXant = nRXant;    % number of receiving antennas may be different in every receiver
                    obj(ii).fc = fc;            % carrier frequency should be the same for all receivers
                    obj(ii).scheme = scheme;    % MCS should be the same for all transmitter and receivers
                    obj(ii).output = [];
                end
            end
        end
    end
end