frep2tf(1)

NAME
frep2tf - frequency response to transfer function

CALLING SEQUENCE
[h [,err]]=frep2tf(frq,repf,dg)

PARAMETERS

frq : vector of frequencies

repf
    : vector of frequency response

dg  : degree of linear system

h   : SISO transfer function

err : error norm([ n(2i*pi*frq) - rep.*d(2i*pi*frq)],'fro')

DESCRIPTION
Frequency response to transfer function conversion. The order of h is a priori given in dg which must be provided.