You can create an array of 2nd order transfer functions in MATLAB by using the tf() function inside a loop or array initialization:
main.m220 chars11 lines
Alternatively, you can use a loop to populate the array:
main.m245 chars10 lines
In both cases, G will be an array of 2nd order transfer functions. You can access individual transfer functions using indexing, e.g. G(1) returns the first transfer function in the array.
gistlibby LogSnag