Skip to content

Commit

Permalink
tweak test
Browse files Browse the repository at this point in the history
  • Loading branch information
baggepinnen committed May 9, 2024
1 parent f095610 commit 94eb559
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/ss.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The result of the identification with [`newpem`](@ref) is a custom type with ext
Three distinct flavors of PEM exist in this package:
- [`newpem`](@ref): Linear black-box model estimation (unstructured models)
- [`structured_pem`](@ref): Linear structured model estimation (user-defined structure/gray box)
- [`nonlinear_pem`](@ref): Nonlinear gray-box model estimation (e.g., ODE parameter estimation)
- [`ControlSystemIdentification.nonlinear_pem`](@ref): Nonlinear gray-box model estimation (e.g., ODE parameter estimation)


### Usage example
Expand Down
4 changes: 2 additions & 2 deletions test/test_arx.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using ControlSystemIdentification, MonteCarloMeasurements, ControlSystemsBase
using ControlSystemIdentification, MonteCarloMeasurements, ControlSystemsBase, Test
unsafe_comparisons(true)
wtest = exp10.(LinRange(-3, log10(pi), 30))
freqresptest(G, model) =
Expand Down Expand Up @@ -151,7 +151,7 @@ Gests = arx(d, na, nb, inputdelay = inputdelay, stochastic = true)

## with inputdelay
G1 = tf([0.3,0, 1], [1, -0.5, 0], 1)
u = randn(1,N)
u = @.(sin(t') + sign(sin(2t')))
y = lsim(G1, u, t)[1][:]
d = iddata(y, u, 1)
na, nb, inputdelay = 1,3,0
Expand Down

0 comments on commit 94eb559

Please sign in to comment.