diff --git a/src/model/linmodel.jl b/src/model/linmodel.jl index cfc515010..e4d1c28b9 100644 --- a/src/model/linmodel.jl +++ b/src/model/linmodel.jl @@ -68,7 +68,7 @@ end @doc raw""" LinModel(sys::StateSpace[, Ts]; i_u=1:size(sys,2), i_d=Int[]) -Construct a linear model from state-space model `sys` with sampling time `Ts` in second. +Construct a linear model from state-space model `sys` with sampling time `Ts` in seconds. The system `sys` can be continuous or discrete-time (`Ts` can be omitted for the latter). For continuous dynamics, its state-space equations are (discrete case in Extended Help): diff --git a/src/model/nonlinmodel.jl b/src/model/nonlinmodel.jl index 4877a0f6a..d1c68d0f4 100644 --- a/src/model/nonlinmodel.jl +++ b/src/model/nonlinmodel.jl @@ -133,9 +133,9 @@ form. The optional parameter `NT` explicitly set the number type of vectors (def See also [`LinModel`](@ref). # Arguments -- `f::Function` or `f!`: state function. -- `h::Function` or `h!`: output function. -- `Ts`: sampling time of in second. +- `f::Function` or `f!`: state function of the model. +- `h::Function` or `h!`: output function of the model. +- `Ts`: sampling time of the model in seconds. - `nu`: number of manipulated inputs. - `nx`: number of states. - `ny`: number of outputs.