isuniverse.m
来自「一个matlab的将军模型」· M 代码 · 共 17 行
M
17 行
function st = isuniverse(s)
% Check if a region of a finite-state machine is the universe set (the
% set of all states).
%
% Syntax:
% "st = isuniverse(s)"
%
% Description:
% Returns 1 if the region "s" is the universe set, i.e. all bits in the
% look-up table are 1, and returns 0 otherwise.
%
% See Also:
% region,set_state,isinregion,isempty,and,or,not
st = isempty(~s);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?