No BSD License  

Highlights from
BPSK Simulator for Low Rate Transmisions

image thumbnail

BPSK Simulator for Low Rate Transmisions

by

 

01 Jun 2004 (Updated )

BPSK Simulator for didactical purposes. Systemic coding style.

validaMetodo.m
function [OK] = validaMetodo(metodo)

%-------------------------------------------------------------------------
% function [ERROR] = validaMetodo(metodo)
%-------------------------------------------------------------------------
%  Funcin que comprueba que el mtodo de generacin de cdigos
% de redundancia cclica es vlida
%-------------------------------------------------------------------------
%|   Autor: Cesar Delgado
%|   Fecha: 19-Abril-2.004
%-------------------------------------------------------------------------

ERROR =  ((isempty(metodo)) | ...
           ~((strcmp(metodo,'hamming') | ...
            strcmp(metodo,'cyclic') | ...
            strcmp(metodo,'bch') | ...
             strcmp(metodo,'rs'))));        
        
OK = ~ERROR;
          

Contact us