--------------------------------------------------------------------------- Finds a(i) --------------------------------------------------------------------------- Form: b = subsref( a, s ) --------------------------------------------------------------------------- ------ Inputs ------ a (:) Object of class acstate s (:) Structure ------- Outputs ------- b (1,1) Scalar ---------------------------------------------------------------------------