MATLAB - Digital Signal Processing

Discussion in 'Programmer's Corner' started by lamerooze, Mar 13, 2008.

  1. lamerooze

    Thread Starter New Member

    Mar 13, 2008
    4
    0
    Hello,

    I am posing a general question that is relevant to my current work in signal processing.

    Let's say you have 2 analytic signals, Signal A and Signal B, and a signal is made up of the Hilbert envelope and the phase of the signal.

    If you want to create a NEW signal from these 2 signals, such that you have the half the envelope of Signal A, and half the envelope of signal B, while maintaining the original phase of Signal A, is it correct to do it in MATLAB such as this:

    NewSignal = (0.5 .* (hilbert(SignalA))) + ((0.5 .* (hilbert(SignalB)) .* cos(angle(Signal A));

    Of course, pre-processing has been done such that I have wavread the original files and converted them into matrices.

    Also, once you have done this, do you have to perform an inverse fourier transform on NewSignal to get back a continuous time periodic signal?

    Thank you.
     
Loading...