Anonymous

Not applicable

07-12-2011
12:31 PM

460 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

However, there is no documented way to apply cosine transform to strided data. In particular, suppose

a b a b a b a b a b a b ....

is a sequence of doubles. I want to apply a cosine transform to the a's and to the b's. Is there a way to do that?

Link Copied

3 Replies

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

In Fortran as well as C, you can, of course, extract the 'a's into one array, the 'b's into another and use such an array as the input argument.

You could put your data into a 2-D array:

a b

a b

a b

and pass each column to the FFT routine.

Anonymous

Not applicable

07-12-2011
04:31 PM

460 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page