nbh_gen.m
来自「隐马尔可夫工具箱」· M 代码 · 共 13 行
M
13 行
function [count, label] = nbh_gen(TRANS, alpha, beta, T)%nbh_gen Simulates data from a negative binomial HMM.% Use: [count,label] = nbh_gen(TRANS,alpha,beta,T|label) where% count is an array of length T which contains the simulated% data and label contains the corresponding simulated state% sequence. If the last argument is of length one, it is% taken as the number of observations, otherwise it is% considered as a specified state sequence.% Requires Matlab's Statistics toolbox or GNU Octave.% H2M/cnt Toolbox, Version 2.0% Olivier Capp
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?