Slow and fast modes decomposition
[G1,G2] = slowfast(G,ns)
G(s) = [G1(s)] + [G2(s)]
G(s) contains the N slowest modes (modes with the smallest absolute value) of G.
denotes the slow part of G(s). The slow poles have low frequency and magnitude values.
denotes the fast part. The fast poles have high frequency and magnitude values.
The variable ns denotes the index where the modes will be split.
Use freqsep to separate slow and fast modes at a specified cutoff frequency instead of a specified number of modes.