No BSD License  

Highlights from
Signals & Systems: Continuous and Discrete, 4e Companion Software

from Signals & Systems: Continuous and Discrete, 4e Companion Software by Rodger Ziemer
Companion Software for Signals & Systems: Continuous and Discrete, 4e

c7ex10.m
a = [0 1; -6 -5];        % Define a matrix
b = [1 1; 1 1];          % Define b matrix
Ts = 0.1;                % Define sampling period
[F,G] = c2d(a,b,Ts);     % Compute F matrix and G matrix
F                        % Display F
G                        % Display G

Contact us at files@mathworks.com