Skip to content

Commit 5ca9167

Browse files
committed
rm old advice
1 parent 0529c94 commit 5ca9167

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

docs/src/man/creating_systems.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -268,19 +268,6 @@ P = ssrand(2,3,1) # A random 2×3 MIMO system
268268
sys_array = getindex.(Ref(P), 1:P.ny, (1:P.nu)')
269269
```
270270

271-
### Creating arrays with different types of systems
272-
When calling `hcat/vcat`, Julia automatically tries to promote the types to the smallest common supertype, this means that creating an array with one continuous and one discrete-time system fails
273-
```@example MIMO
274-
P_cont = ssrand(2,3,1)
275-
P_disc = ssrand(2,3,1, Ts=1)
276-
@test_throws ErrorException [P_cont, P_disc] # ERROR: Sampling time mismatch
277-
```
278-
You can explicitly tell Julia that you want a particular supertype, e.g,
279-
```@example MIMO
280-
StateSpace[P_cont, P_disc]
281-
```
282-
The type `StateSpace` is abstract, since the type parameters are not specified.
283-
284271
## Demo systems
285272
The module `ControlSystemsBase.DemoSystems` contains a number of demo systems demonstrating different kinds of dynamics.
286273

0 commit comments

Comments
 (0)