代码搜索:State Machine
找到约 10,000 项符合「State Machine」的源代码
代码结果 10,000
www.eeworm.com/read/475366/6778997
m int_state.m
function int_state = int_state( state )
% converts a row vector of m bits into a integer (base 10)
[dummy, m] = size( state );
for i = 1:m
vect(i) = 2^(m-i);
end
int_state = state*v
www.eeworm.com/read/475366/6779045
m bin_state.m
function bin_state = bin_state( int_state, m )
% converts an vector of integer into a matrix; the i-th row is the binary
% form
% of m bits for the i-th integer
for j = 1:length( int_state )
www.eeworm.com/read/475366/6779046
m int_state.m
function int_state = int_state( state )
% converts a row vector of m bits into a integer (base 10)
[dummy, m] = size( state );
for i = 1:m
vect(i) = 2^(m-i);
end
int_state = state*v
www.eeworm.com/read/284942/6788928
m state_in_build.m
function state_in=state_in_build(state_number,state_trans_matrix)
%--------------------------------------------------------------------------
%统计转入到每个状态中的状态序号
state_in = zeros(state_number,2);
for
www.eeworm.com/read/475535/6790887
m bin_state.m
function bin_state = bin_state( int_state, m )
% Copyright Matt C. Valenti
% MPRG lab, Virginia Tech
% for academic use only
% converts an vector of integer into a matrix; the i-th row is the binary
www.eeworm.com/read/475535/6790888
m int_state.m
function int_state = int_state( state )
% Copyright 1996 Matthew C. Valenti
% MPRG lab, Virginia Tech.
% for academic use only
% converts a row vector of m bits into a integer (base 10)
[dummy, m] =
www.eeworm.com/read/475543/6790910
m bin_state.m
function bin_state = bin_state( int_state, m )
% Copyright Matt C. Valenti
% MPRG lab, Virginia Tech
% for academic use only
% converts an vector of integer into a matrix; the i-th row
www.eeworm.com/read/475543/6790912
m int_state.m
function int_state = int_state( state )
% Copyright 1996 Matthew C. Valenti
% MPRG lab, Virginia Tech.
% for academic use only
% converts a row vector of m bits into a integer (base 10
www.eeworm.com/read/475347/6796729
m bin_state.m
function bin_state = bin_state( int_state, m )
% converts an vector of integer into a matrix; the i-th row is the binary form
% of m bits for the i-th integer
for j = 1:length( int_state )
www.eeworm.com/read/475347/6796730
m int_state.m
function int_state = int_state( state )
% converts a row vector of m bits into a integer (base 10)
[dummy, m] = size( state );
for i = 1:m
vect(i) = 2^(m-i);
end
int_state = state*vec