Turn time histories and FRF to positive by switching polarities.
g = fn2pos(f)
FN2POS turns all time history and FRF functions in the imat_fn F to positive by switching the reference and response coordinate polarities along with the sign on the ordinate values.