error while using hht function

4 views (last 30 days)
Hi,
I am getting this error "Expected FrequencyLimits to be an array with all of the values <= 3.14159."while executing the hht function -[hs,f,t] = hht(imf,'FrequencyLimits',[0 1000]). Please help me with this.

Accepted Answer

Asvin Kumar
Asvin Kumar on 30 Sep 2019
The FrequencyLimitsargument in the hht function can take values within [0,fs/2] where ‘fs’ is the value set for the Sample Rate argument. When the Sample Rate argument is not provided, hht takes 2*pi as the default ‘fs’ value.
Providing your sample frequency should resolve the error.
For more details have a look at:

More Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!