You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
T =promote_type(eltype(A), eltype(B), eltype(C), eltype(D))
200
+
functiontzero(A::AbstractMatrix{T}, B::AbstractMatrix{T}, C::AbstractMatrix{T}, D::AbstractMatrix{T}) where {T <:Union{AbstractFloat,Complex{<:AbstractFloat}}#= For eps(T) =#}
202
201
# Balance the system
203
202
A, B, C =balance_statespace(A, B, C)
204
203
@@ -233,8 +232,7 @@ function tzero(A::AbstractMatrix, B::AbstractMatrix, C::AbstractMatrix, D::Abstr
Copy file name to clipboardExpand all lines: src/timeresp.jl
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -187,10 +187,10 @@ If `x0` is not provided, a zero-vector is used.
187
187
188
188
If `u` is a function, then `u(x,i)` is called to calculate the control signal every iteration. This can be used to provide a control law such as state feedback `u=-Lx` calculated by `lqr`. In this case, an integrer `iters` must be provided that indicates the number of iterations.
0 commit comments