diff --git a/src/FRTN35_lab1.jl b/src/FRTN35_lab1.jl index a49264f333803f0c0fcb2247cd9f56d6f346afcd..7d0d7938ce8be922249e895f58ec573bc0c72e59 100644 --- a/src/FRTN35_lab1.jl +++ b/src/FRTN35_lab1.jl @@ -75,7 +75,8 @@ plot([y u], lab=["y" "u"]) na = 4 # Order of A polynomial nb = 2 # Order of B polynomial -arxtf, Σ = arx(h, y, u, na, nb) # Estimate trasfer function with ARX method +arxtf, Σ = arx(h, y, u, na, nb) # Estimate transfer function with ARX method bopl(G123, lab="Measured transfer function") -bodeconfidence!(arxtf, Σ, ω = logspace(0,3,200)) +bodeconfidence!(arxtf, Σ, ω = logspace(0,3,200), linecolor=:red) # The exclamation mark (!) +# adds to the previous plot. If there is no plot open, remove the !