📄 nbh_gen.m
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -