📄 viterbi_init.m
字号:
function [ SYMBOLS , PREVIOUS , NEXT , START , STOPS ] = viterbi_init(Lh)% VITERBI_INIT:% This function returns the tables which are used by the % viterbi demodulator which is implemented in the GSMsim% package.%% SYNTAX: [ SYMBOLS , PREVIOUS , NEXT , START , STOPS ]% = % viterbi_init(Lh)%% INPUT: Lh: The length of the channel impulse response% minus one.%% OUTPUT: SYMBOLS: Statenumber to MSK-symbols mapping table.% PREVIOUS: This state to legal previous state mapping table.% NEXT: This state to legal next state mapping table.% START: The start state of the viterbi algorithm.% STOPS: The set of legal stop states for the viterbi % algorithm.%% GLOBAL: None%% SUB_FUNC: make_symbols,make_previous,make_next,make_start,make_stops%% WARNINGS: None% % TEST: Verified that the function actually runs the subfunctions.%% AUTHOR: Jan H. Mikkelsen / Arne Norre Ekstr鴐% EMAIL: hmi@kom.auc.dk / aneks@kom.auc.dk%% $Id: viterbi_init.m,v 1.4 1998/02/12 10:52:15 aneks Exp $SYMBOLS = make_symbols(Lh);PREVIOUS = make_previous(SYMBOLS);NEXT = make_next(SYMBOLS);START = make_start(Lh,SYMBOLS);STOPS = make_stops(Lh,SYMBOLS);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -