Why does the PBURG function in the Signal Processing Toolbox 6.

S
Samantha · Mar 17, 2021 · 2.3K views
Question
Why does the PBURG function in the Signal Processing Toolbox 6.2 (R14) throw an error message for some sampling frequencies? Why does the PBURG function in the Signal Processing Toolbox 6.2 (R14) throw an error message for some sampling frequencies?   For example: dt = 9.999999999999787e-003; pburg(1:1000, 4, 256, 1/dt) Produces the following error message: ??? Error using ==> abstractfreqresp.initialize>setdefaultsnparse Frequency vector cannot contain frequency points outside the Nyquist frequency interval, i.e., frequencies must lie within the range 0 to 50 Hz. Error in ==> pburg at 63 hpsd = dspdata.psd(Pxx,freq{:},'SpectrumType',options.range);
Expert Answer
Profile picture of Kshitij Singh
Kshitij Singh PhD Expert
Answered Aug 16, 2026
This bug has been fixed for Release 14 (R14). For previous releases, please read below for any possible workarounds:
This has been verified as a bug in  Signal Processing Toolbox 6.2 (R14) in the way that PBURG handles some sampling frequencies.
Currently, to work around this issue, try rounding the sampling frequency.
For example, instead of
 
dt = 9.999999999999787e-003;

try:

dt = 0.01

You can also try using Signal Processing Toolbox 6.1 (R13SP1).

100% Run Guarantee 3-Hour Fast-Track Delivery

Need a Custom Version or Complete Simulation for This Problem?

Our 500+ PhD engineers build, debug, and optimize working MATLAB scripts and Simulink (.slx) models tailored to your exact assignment rubrics with zero plagiarism.

Tested on MATLAB R2024b / R2026a
Turnitin 0% Plagiarism Report
Free 7-Day Revisions Guarantee
Have a different question? Ask here

Get a Free Consultation or a Sample Assignment Review!