If we have a real signal (Sine / Cosine) all needed is to apply Hilbert Transform (Actually build the analytic signal as in MATLAB's hilbert()
).
Sometimes, this analytic signal is what we have to begin with (See remarks).
Remark 002: UsuallyIf those algorithm are used in the context of RF (RADAR, Communication, EW, SIGINT, etc...) data. So, then the Analytic SignalAnalytic Signal is "free".