Skip to content

Commit 23effa9

Browse files
authored
Merge branch 'master' into compathelper/new_version/2019-12-17-14-02-59-522-1074000113
2 parents 3b021bf + 68c6751 commit 23effa9

15 files changed

+378
-158
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
language: julia
22
julia:
33
- 1.0
4-
- 1.1
5-
- 1.2
4+
- 1.3
65
- nightly
76
matrix:
87
allow_failures:

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2020
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2121

2222
[compat]
23-
Colors = "0.9.2, 0.10"
23+
Colors = "0.9.2, 0.10, 0.11"
2424
DSP = "0.6.1"
2525
DelayDiffEq = "5.6"
2626
IterTools = "1.0"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Some of the available commands are:
7474
##### Constructing systems
7575
ss, tf, zpk, ss2tf
7676
##### Analysis
77-
pole, tzero, norm, norminf, ctrb, obsv, gangoffour, margin, markovparam, damp, dampreport, zpkdata, dcgain, covar, gram, sigma, sisomargin
77+
pole, tzero, norm, hinfnorm, linfnorm, ctrb, obsv, gangoffour, margin, markovparam, damp, dampreport, zpkdata, dcgain, covar, gram, sigma, sisomargin
7878
##### Synthesis
7979
care, dare, dlyap, lqr, dlqr, place, leadlink, laglink, leadlinkat, rstd, rstc, dab, balreal, baltrunc
8080
###### PID design

src/ControlSystems.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export LTISystem,
2424
lqgi,
2525
covar,
2626
norm,
27-
norminf,
27+
hinfnorm,
28+
linfnorm,
2829
gram,
2930
ctrb,
3031
obsv,
@@ -143,6 +144,7 @@ include("plotting.jl")
143144

144145
@deprecate num numvec
145146
@deprecate den denvec
147+
@deprecate norminf hinfnorm
146148

147149
# The path has to be evaluated upon initial import
148150
const __CONTROLSYSTEMS_SOURCE_DIR__ = dirname(Base.source_path())

src/analysis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function damp(sys::LTISystem)
138138
ps = log(ps)/Ts
139139
end
140140
Wn = abs.(ps)
141-
order = sortperm(Wn)
141+
order = sortperm(Wn; by=z->(abs(z), real(z), imag(z)))
142142
Wn = Wn[order]
143143
ps = ps[order]
144144
ζ = -cos.(angle.(ps))

src/freqresp.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ frequencies `w`
128128
`sv` has size `(length(w), max(ny, nu))`"""
129129
function sigma(sys::LTISystem, w::AbstractVector)
130130
resp = freqresp(sys, w)
131-
nw, ny, nu = size(resp)
132131
sv = dropdims(mapslices(svdvals, resp, dims=(2,3)),dims=3)
133132
return sv, w
134133
end

0 commit comments

Comments
 (0)