資源簡(jiǎn)介
S變換的matlab源碼,并應(yīng)用幾個(gè)信號(hào)作為例子來(lái)說(shuō)明怎么使用s變換以及s變換可以用來(lái)做些什么事情。s變換是時(shí)頻分析領(lǐng)域中一個(gè)較新的內(nèi)容,現(xiàn)在在信號(hào)處理,地震勘探,語(yǔ)音識(shí)別等領(lǐng)域都開(kāi)始了對(duì)它的應(yīng)用研究,是目前的一個(gè)熱點(diǎn)

代碼片段和文件信息
function?[ts]?=?inverse_st(st)
%?Returns?the?inverse?of?the?Stockwell?Transform?of?the?REAL_VALUED?timeseries.
%?Code?by?Robert?Glenn?Stockwell.
%?Reference?is?“Localization?of?the?Complex?Spectrum:?The?S?Transform“
%?from?IEEE?Transactions?on?Signal?Processing?vol.?44.?number?4?April?1996?pages?998-1001.
%
%-------Inputs?Needed------------------------------------------------
%??
%??S-Transform?matrix?created?by?the?st.m?function
%-------Optional?Inputs?------------------------------------------------
%?none
%-------Outputs?Returned------------------------------------------------
%
%?ts?????-a?REAL-VALUED?time?series
%--------Additional?details-----------------------
%???Copyright?(c)?by?Bob?Stockwell
%???$Revision:?1.0?$??$Date:?2004/10/10??$
%?sum?over?time?to?create?the?FFT?spectrum?for?the?positive?frequencies
stspe?=?sum(st2);
%?get?st?matrix?dimensions?
[nfreqntimes]?=?size(st);
if?rem(ntimes?2)?~=?0
????%?odd?number?of?points?so?nyquist?point?is?not?aliased?so?concatenate
????%?the?reversed?spectrum?to?create?the?negative?frequencies
????%?drop?the?DC?value
????negspe?=?fliplr(stspe(2:nfreq)‘);
else
?????%?even?number?of?points
?????%?therefore?drop?the?first?point?(DC)?and?the?last?point?(aliased?nyqusit?freq)
?????negspe?=?fliplr(stspe(2:nfreq-1)‘);
end
%?using?symmetry?of?FFT?spectrum?of?a?real?signal?recreate?the?negative?frequencies?from?the?positie?frequencies
?fullstspe?=?[conj(stspe‘)??negspe];????
%?the?time?series?is?the?inverse?fft?of?this
ts?=?ifft(fullstspe);
%?and?take?the?real?part?the?imaginary?part?will?be?zero.
ts?=?real(ts);
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件???????1637??2008-04-08?22:07??S-Transform\inverse_st.m
?????文件????????936??2008-04-08?22:06??S-Transform\s-tranform?test.m
?????文件?????797303??2008-04-19?16:33??S-Transform\S-Trans.pdf
?????文件??????13712??2008-04-08?22:05??S-Transform\S-Transform.m
?????文件???????1152??2008-04-08?22:08??S-Transform\st_inverse_test.m
?????目錄??????????0??2008-04-20?20:15??S-Transform
-----------?---------??----------?-----??----
???????????????814958????????????????????7
評(píng)論
共有 條評(píng)論