Research Article

Mathematical Modeling of Smart Space for Context-Aware System: Linear Algebraic Representation of State-Space Method Based Approach

Algorithm 1

Linear model (, , , ).
Data: input-state coefficient matrix , state-output coefficient matrix , at a given
time, List of input , List of state , input vector , state vector
Result: Situation
(1), initialization;
/ Next state calculation /
(2)for   to   do
 /   is the total no. of inputs in list of input   /
(3);
(4)end
(5);
(6)for   to do
 /   is the total no. of inputs in list of input   /
(7);
(8)end
(9);