fitfrd

Wrapper for fitfrd (mag=0) and fitfrdmag (mag=1) functions in continuous and discrete time (if ds in input). Input:

kv,yv: frequency array and frequency response N: order for rational function approximation mag=1,0: Flag for determining method to use dt (optional): sampling time for DLTI systems