<< phasedelay | FOSSEE_Signal_Processing_Toolbox | poly2ac >>

FOSSEE_Signal_Processing_Toolbox >> FOSSEE_Signal_Processing_Toolbox > pmusic

# pmusic

Psuedospectrum using MUSIC algorithm

### Syntax

    [S,w] = pmusic(x,p)
    [S,w] = pmusic(x,p,w)
    [S,w] = pmusic(x,p,nfft)
    [S,w] = pmusic(x,p,nfft,fs)
    [S,w] = pmusic(x,p,f,fs)
    [S,f] = pmusic(...,'corr')
    [S,f] = pmusic(x,p,nfft,fs,nwin,noverlap)
    [...] = pmusic(...,freqrange)
    [...,v,e] = pmusic(...)

### Parameters

x :

  int|double - vector|matrix

p :

  int|double - scalar|vector

w :

  int|double - vector

nfft :

  int - scalar (Default = 256)

fs :

  int|double - scalar (Default = 1)

nwin :

  int|double - scalar (int only)|vector (Default = 2*p(1))

noverlap :

  int - scalar (Default = nwin-1)

freqrange :

  string

'corr' flag :

### Examples

    n = 0:199;
    x = cos(0.257*%pi*n) + sin(0.2*%pi*n) + 0.01*rand(size(n,"r"),"normal");
    [S,w]=pmusic(x,[%inf,1.1],[],8000,2)  ;//where x: [1x200 constant]       p:-infinite signal space and threshold  value is 1.1         window length:-7       Fs:-8000Hz........fftlength:-256
    plot(w,S);//.........to see the plot of psuedospectrum estimate of x vs frequencies w

    n = 0:199;
    x = cos(0.257*%pi*n) + sin(0.2*%pi*n) ;
    [S,w]=pmusic(x,2,16,1)        //where x: [1x200 constant]   p: 2   w: [0x0 constant]   nfft: 16   fs: 1

### See also

- pburg — Calculate Burg maximum-entropy power spectral density.
- peig — Pseudospectrum using the eigenvector method.
- periodogram — Compute the periodogram power spectral density estimate.
- pmtm
- prony — Prony's method for time-domain design of IIR Filters.
- pwelch — Estimate power spectral density of data "x" by the Welch (1967) periodogram/FFT method.
- rooteig — Frequencies and power of sinusoids using eigenvector algorithm
- rootmusic — Frequencies and power of sinusoids using the root MUSIC algorithm

### Authors

- Ayush Baid

### Bibliography

[1] Petre Stoica and Randolph Moses, Introduction To Spectral

Analysis, Prentice-Hall, 1997, pg. 15

[2] S. J. Orfanidis, Optimum Signal Processing. An Introduction.

2nd Ed., Macmillan, 1988.

Report an issue
<< phasedelay | FOSSEE_Signal_Processing_Toolbox | poly2ac >>