isfsm tests whether a variable is a filter state matrix. Boolean output is 1 if it is indeed a filter state matrix, and is 0 else.
b = isfsm(fsm)
||Variable. Hoped to be a Filter state matrix.|
order = 10; % order fn=.5; % normalized cut-off frequency [A,B,C,D] = butter(order,fn); fsm = fsminit(A,B,C,D); % Test b = isfsm(fsm) % Making an error fsm.D = [0 1]; % New test b = isfsm(fsm)include "V2.0.inc"; include "author.inc"; include "footer.inc"; ?>