comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Discrete sine transform
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Discrete sine transform [message #30553 is a reply to message #30545] Thu, 02 May 2002 08:36 Go to previous messageGo to previous message
mvukovic is currently offline  mvukovic
Messages: 63
Registered: July 1998
Member
"Dominik Paul" <dpaul@ukl.uni-freiburg.de> wrote in message news:<aar135$hqq$1@n.ruf.uni-freiburg.de>...
> I am not 100% sure about it, but I think the sin transform is just the
> imaginary part of the Fourie Transformation.
>
> Dom
>
> "Matthew Angling" <mjangling@QinetiQ.com> schrieb im Newsbeitrag
> news:aaqvkg$85k$1@hamble.qinetiq.com...
>> Hello all,
>>
>> I'm another lurker drawn out to ask for help. I think this is more of
>> a maths question rather than IDL, but as I'm working with IDL and this
>> seems to be the most friendly newsgroup I know of, I thought I'd try
>> here!
>>
>> Does anybody have the algorithm for the discrete sine tranform coded
>> in IDL. If I understand correctly it can be done (with some
>> redundency) by using the FFT - but I'm not sure how!
>>
>> Thanks in advance for your help,
>>
>> Matt
>>
>> --
>> Dr. M. J. Angling
>> Centre for RF Propagation and Atmospheric Research
>> QinetiQ Malvern
>> mjangling@QinetiQ.com
>>
>>
>>

nope! Funny, I was just leafing Numerical Recipes on that topic
yesterday. By way of explanation (and probably quoting the Book and
other authorities), the sine transform is a ``complete'' transform of
the data, i.e., you can get the data back by doing an inverse
transform. If you were just to take the imaginary part of your FFT,
you would loose half the information, and could not recover it when
doing the inverse.

The Book does provide an algorithm to do it using the FFT. You have
to make an anti-symmetric series out of your data by extending the
data series. The first N samples stay the same. The other N samples
are anti-symmetric about N+1 where the N+1 sample must be zero. I've
never done it, and advise going to the Book itself to make sure you
got everything right. The topic is covered in Ch. 12 of the second
edition.

Mirko
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Need help working with large video file
Next Topic: reclass in ENVI or IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 12:42:59 PDT 2025

Total time taken to generate the page: 1.20282 seconds