Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Reconstructing a signal from its spectrogram

Subject: Reconstructing a signal from its spectrogram

From: gehan mustafa

Date: 2 Apr, 2007 09:01:31

Message: 1 of 3

Hello all,
I am facing a problem, and i hope anyone could help me.

After i got the spectrogram for a certain signal, I Want to apply
some weight to each Time-Frequency region of
the spectrogram, and then i want to reconstruct the original signal
from the weighted spectrogram.

How can I do this in matlab? I mean is their a function or toolbox in
the matlab that allows me to reconstruct a signal given its
spectrogram only?

Thanks alot and I hope anyone could help me out here
     Yours,
        Gehan Mustafa

Subject: Reconstructing a signal from its spectrogram

From: Mehdi

Date: 18 Apr, 2013 01:50:09

Message: 2 of 3

Hi Mustafa,

I have the same problem. Could you solve your problem? I'll appreciate if you can share your result.

I look forward to hearing from you.

Regards,
~Mehdi


"Gehan Mustafa" <gehan84@yahoo.com> wrote in message <ef5316d.-1@webcrossing.raydaftYaTP>...
> Hello all,
> I am facing a problem, and i hope anyone could help me.
>
> After i got the spectrogram for a certain signal, I Want to apply
> some weight to each Time-Frequency region of
> the spectrogram, and then i want to reconstruct the original signal
> from the weighted spectrogram.
>
> How can I do this in matlab? I mean is their a function or toolbox in
> the matlab that allows me to reconstruct a signal given its
> spectrogram only?
>
> Thanks alot and I hope anyone could help me out here
> Yours,
> Gehan Mustafa

Subject: Reconstructing a signal from its spectrogram

From: TideMan

Date: 18 Apr, 2013 04:34:58

Message: 3 of 3

On Thursday, April 18, 2013 1:50:09 PM UTC+12, Mehdi wrote:
> Hi Mustafa,
>
>
>
> I have the same problem. Could you solve your problem? I'll appreciate if you can share your result.
>
>
>
> I look forward to hearing from you.
>
>
>
> Regards,
>
> ~Mehdi
>
>
>
>
>
> "Gehan Mustafa" <gehan84@yahoo.com> wrote in message <ef5316d.-1@webcrossing.raydaftYaTP>...
>
> > Hello all,
>
> > I am facing a problem, and i hope anyone could help me.
>
> >
>
> > After i got the spectrogram for a certain signal, I Want to apply
>
> > some weight to each Time-Frequency region of
>
> > the spectrogram, and then i want to reconstruct the original signal
>
> > from the weighted spectrogram.
>
> >
>
> > How can I do this in matlab? I mean is their a function or toolbox in
>
> > the matlab that allows me to reconstruct a signal given its
>
> > spectrogram only?
>
> >
>
> > Thanks alot and I hope anyone could help me out here
>
> > Yours,
>
> > Gehan Mustafa

When you calculate the spectrum, you destroy all the information about phase. But you need phase to reconstruct the signal.
Once you've figured out what you will do about phase, reconstructing the signal is straightforward using ifft.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us