octave:octave
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
octave:octave [2009/04/23 13:12] – deva | octave:octave [2009/04/23 13:54] (current) – deva | ||
---|---|---|---|
Line 17: | Line 17: | ||
</ | </ | ||
This code plots a a vector with a label on the x-axis, and exports it to a pdf file. | This code plots a a vector with a label on the x-axis, and exports it to a pdf file. | ||
+ | |||
+ | <code matlab> | ||
+ | h=wavread(' | ||
+ | hfft=abs(fft(h)); | ||
+ | semilogx(hfft(1: | ||
+ | </ | ||
+ | This code loads an audiofile, and plots its frequency spectrum on a logartihmical scale. | ||
====function==== | ====function==== |
octave/octave.1240485152.txt.gz · Last modified: 2009/04/23 13:12 by deva