 Usage:  specd = spec(x {,width {,opt}} )  

 

 Input:



  x                      vector 

                         

  width (optional)       scalar, 0 <= width <= (rows(x)/2) 

                         

  opt (optional)         integer; If opt=1 (Default) the spectral density 

                         estimate is returned, otherwise the log spectral 

                         density estimate 

                         

 Output:



  specd                  vector 

                         

--------------------------------------------------------------

(C) MD*TECH Method and Data Technologies, 21.9.2000

