pfit = makepassive(fit,s)
produces a passive fit by modifying the input, fit while
optimally matching the data of S-parameter input, s.
makepassive function does modifies the residues of the
fit to make it passive.
pfit = makepassive(fit,s,'Display','on')
solves as above, but turns on the display of iteration information. The default for
'Display' is 'off'.