Skip to content

Commit

Permalink
add nstates for tf
Browse files Browse the repository at this point in the history
  • Loading branch information
albheim committed May 16, 2021
1 parent 7830922 commit dc422e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/types/TransferFunction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ end

noutputs(G::TransferFunction) = size(G.matrix, 1)
ninputs(G::TransferFunction) = size(G.matrix, 2)
nstates(G::TransferFunction) = length(pole(G)) # Does not work for MIMO

#####################################################################
## Misc. Functions ##
Expand Down

0 comments on commit dc422e8

Please sign in to comment.