Description

sys=mrfit(w,mag,order,weight) returns a bi-stable transfer function
G(s)=sys=num/den, of of given order such that
its frequency response magnitude abs(G(w(i)))
matches mag(i) i.e. abs(freq(num,den,%i*w)) should be
close to mag.
weight(i) is the weigth given to w(i).