Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!news2.google.com!newshub.sdsu.edu!flph200.ffdc.sbc.com!prodigy.net!flph199.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi147.ffdc.sbc.com.POSTED!ffbda4aa!not-for-mail
Reply-To: "Nasser Abbasi" <nma@12000.org>
From: "Nasser Abbasi" <nma@12000.org>
Newsgroups: comp.soft-sys.matlab
References: <e86ceb09-d620-496d-a2a3-fa987954c5d9@k8g2000yqn.googlegroups.com>
Subject: Re: how to transform the power spectra image into spectrum diagram?
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
Message-ID: <vBkDl.15278$8_3.700@flpi147.ffdc.sbc.com>
NNTP-Posting-Host: 75.40.49.230
X-Complaints-To: abuse@prodigy.net
X-Trace: flpi147.ffdc.sbc.com 1239274971 ST000 75.40.49.230 (Thu, 09 Apr 2009 07:02:51 EDT)
NNTP-Posting-Date: Thu, 09 Apr 2009 07:02:51 EDT
Organization: at&t http://my.att.net/
X-UserInfo1: Q[R_PJON[ZRUS_ASZP^D]VDBAZOZ@GXOXB]T]_MIJQR@EPIB_VUKAH_[MTX\IS[K[NGYJJFNOFZR_G[BUNTAOQLFE^TEHRPI]PZZRP_BMDSFQFL_]CBHXRWCMDCUZAZN@D_AKMNLEI]MWHCSXL^]NNC__CZFGSGHYYXWPFG@SCAVA]\FT\@B\RDGENSUQS^M
Date: Thu, 9 Apr 2009 04:08:21 -0700
Xref: news.mathworks.com comp.soft-sys.matlab:531632



<islinaismail@gmail.com> wrote in message 
news:e86ceb09-d620-496d-a2a3-fa987954c5d9@k8g2000yqn.googlegroups.com...
> hye...
>
> how to transform the power spectra image (through fft2 process) into
> spectrum diagram?is anyone know the codes in matlab?
> thanks...

The power spectrum is the square of the magnitude of the spectrum?

So, just take the square root of the PSD you'll get |X(w)|

--Nasser