ERROR: Index exceeds matrix dimensions. The array IMF is empty and therefore has no valid indices

2 views (last 30 days)
Hello everyone,
I am trying to implement emd function using matlab function block , But i am getting the following error:Index exceeds matrix dimensions. The array IMF is empty and therefore has no valid indices.
I have attached the similink model and error screenshot.
Can anyone help me to resolve this issue.
Thank you,
With regards,
Manikandan Raju

Answers (1)

Chetan
Chetan on 15 Sep 2023
It appears that you are experiencing an issue with the "emd" function and encountering an error.
Upon debugging the code, it has been identified that the IMF (Intrinsic Mode Function) is an empty matrix with a size of 1024x0, causing an error during vector slicing.
To resolve this issue, I recommend referring to the documentation of the "emd" function for further guidance:
I hope these suggestions help you resolve the issue you are facing

Community Treasure Hunt

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

Start Hunting!