Question: what is tf2ss in matlab?
Answer: tf2ss converts a transfer function representation of a given system to an equivalent state-space representation. ... tf2ss also works for discrete systems, but you must pad the numerator with trailing zeros to make it the same length as the denominator. The tf2ss function is part of the standard MATLAB language.