How can I speed up the calculation time for the "rpmtrack" function?

2 次查看(过去 30 天)
I am using the "rpmtrack" function in the MATLAB R2018a prerelease. When my "x" signal input has ~ 10e5 elements, the "rpmtrack" function takes 15 minutes to run. If my "x" input signal has ~ 10e4 elements, it only takes a couple minutes to run. Is there any way I can decrease the run time of this function when inputting a vector with 10e5 elements? 

采纳的回答

MathWorks Support Team
There are a couple methods of speeding up the computation time of the "rpmTrack" function:
  • Divide the signal into various segments. Then, estimate the rpm over each segment, and concatenate those rpm estimates.
  • Coarsen the frequency resolution to reduce FFT length, and then compensate the ridge estimation accuracy by specifying enough ridge points and penalty values. This can be done using the name-value pairs for this function such as "FrequencyResolution" and "FrequencyPenalty", as pointed out in the function's documentation page.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Dimensionality Reduction and Feature Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by