Take real part of ordinate.
g=real(f)
This function replaces all ordinate values of f with their real parts.