Thread Subject: cosine transform

Subject: cosine transform

From: John Gar

Date: 22 Nov, 2009 12:55:07

Message: 1 of 2

Hi all,

I want to take an audio file (WAV) and make to him the cosine transform. As I understand bacause that isn't a image file I suppose to use the 1D dct function. I'm right? The question is, if I want to plot the result - it's a normal plot? How could i know wich axis I recieve at the normal plot of the dct?

Thanks all

Subject: cosine transform

From: John Gar

Date: 9 May, 2010 11:55:21

Message: 2 of 2

Ok, regarding the plot it's like a normal function and it's possible to use the normal plot function.
My doubt is about the axis of the dct. As I understand from the matlab help and so on, it supposed to be Frequency - Amplitude (X - Y).
But when I plot it it appear like Samples - Amplitude, how can I display it as Frequency x axis???

I'm really get confused..

Tanxs

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
dct John Gar 22 Nov, 2009 07:59:06
audio John Gar 22 Nov, 2009 07:59:06
transform John Gar 22 Nov, 2009 07:59:06
rssFeed for this Thread

Contact us at files@mathworks.com