代码搜索:State Machine
找到约 10,000 项符合「State Machine」的源代码
代码结果 10,000
www.eeworm.com/read/221611/14735782
m bin_state.m
function bin_state=bin_state(int_state,m,form)
%To convert an vector of integer(base 10) into a matrix; the i-th row is the binary form
%of m bits for the i-th integer
%form-->form of desired output(
www.eeworm.com/read/221611/14735784
m int_state.m
function int_state = int_state(bin_state,form)
% To convert a row vector of m bits into a integer (base 10)
[dummy,m]=size(bin_state);
for i= 1:m
vect(i)=2^(m-i);
end
x=bin_state*vect';
switch
www.eeworm.com/read/121258/14762723