Error using pentropy function
Show older comments
Hello,
I am getting the error as follows when using the pentropy function:
Code: pentropyTest_A = cellfun(@(x)pentropy(x,fs)',XTrain,'UniformOutput',false);
Error: Expected X to be a vector.
Description of XTrain: It is a cell array of 211 x 1. Each cell is a signal containing 6 columns (Voltage and current of 3 phases) and 2000 rows.
I am referring to the ECG classification using LSTM in MATLAB documentation. Please see link:
Thanks.
Accepted Answer
More Answers (0)
Categories
Find more on AI for Signals 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!