Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

DCT function plot - spectral frequency

Status
Not open for further replies.

Cuchara

Newbie level 4
Joined
Jul 5, 2009
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,320
Hi all,

I want to take an audio file (WAV) and make to him the cosine transform.
Because that isn't a image file I use the 1D dct function.

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? And, I still how can I see the spectral frequencies of the DCT? I use Matlab..

Thanks all
 

Hello.you can use MATLAB help. DCT is a rough command and you can plot result by "plot function". note that dct has real outputs and symmetric around n=0.

Bye
 

Ok, regarding the plot it's like a normal 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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top