Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | Matlab DSP | spectrogram 4 frequencies and amplitudes

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

spectrogram 4 frequencies and amplitudes - mark pxxxxx - Oct 2 17:43:00 2005



Let’s say I have a square wave at a fixed 440 Hz. I
want to use the spectrogram function, or something
else in Matlab, to extract the harmonics of the
waveform in order of their effect in making up the
sound. So the output would be #1 = 440, etc. I’m not
sure how to use the spectrogram function to go about
extracting this specific info and saving the numeric
values in an array, so if you could assist with ideas,
hints, etc. I’d appreciate it.

sxxx = square(440);
[bxxx, fxxx, txxx] = specgram(sxxx, 512, 441000);




(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )