Where can I find the extractFSSTFeatures helper function in Waveform Segmentation using Deep Learning?
Show older comments
Hello everyone, I'm trying to implement the code provided in the Waveform Segmentation Using Deep Learning, but I can't seem to find the extractFSSTFeatures helper function used in the last step of the documentation. Can anyone help me?
The documentation can be viewed at the following link: https://it.mathworks.com/help/signal/ug/waveform-segmentation-using-deep-learning.html
"Calculate the FSST of each signal in the training dataset over the frequency range of interest, [0.5, 40] Hz. Treat the real and imaginary parts of the FSST as separate features and feed both components into the network. Furthermore, standardize the training features by subtracting the mean and dividing by the standard deviation. Use a transformed datastore, the extractFSSTFeatures helper function, and the tall function to process the data in parallel."
fsstTrainDs = transform(trainDs,@(x)extractFSSTFeatures(x,250));
fsstTallTrainSet = tall(fsstTrainDs);
fsstTrainData = gather(fsstTallTrainSet);
Accepted Answer
More Answers (1)
Cris LaPierre
on 25 Jan 2024
Use the Copy Command button to obtain the code necessary to open the example in your local version of MATLAB. This will download the necessary files to run the example on your computer. One of the files downloaded will be the helper function.
openExample('deeplearning_shared/WaveformSegmentationUsingDeepLearningExample')
1 Comment
FEDERICO DIGIACOMO
on 25 Jan 2024
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!