Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

difference between 'pwelch' and 'spectrum'

Status
Not open for further replies.

txccjj

Marine/Ocean
Joined
Dec 19, 2006
Messages
1
Location
FR
Hi,

I used the 'spectrum' command before to plot power spectrums. However, I realized that it has been replaced by 'pwelch' command now. The results are different even though I used the same parameters (nwin, noverlap, nfft, etc). Especially for the amplitude of the peaks: some peaks become smaller whereas others become bigger when I used the new command. Could please someone tell me what's the difference before the two commands? Thanks a lot!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top