How can I speed up the calculation time for the

C
Cataleya · Jan 11, 2021 · 2.2K views
Question
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? 
Expert Answer
Profile picture of Prashant Kumar
Prashant Kumar PhD Expert
Answered Aug 24, 2026
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.
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!