Waveform Segmentation Using Deep Learning: resizeSignal does not seem to work

1 vue (au cours des 30 derniers jours)
I am trying to repeat the example given in MATLAB site.
when I try to execute the following lines of commands, theres is no output produced on the workspace,
[signalsTrain,labelsTrain] = resizeSignals(trainQT);
[signalsTest,labelsTest] = resizeSignals(testQT);
instead I keep getting a message on my command window in red. I'm on R2019b
'resizeSignals' is used in Waveform Segmentation Using Deep Learning.
Can someone help me out on this, please?
Screenshot from 2020-02-03 12-15-40.png

Réponse acceptée

Shunichi Kusano
Shunichi Kusano le 5 Fév 2020
Hi Althaff,
the error relates to the path setting. You need to set the path to the file location or just copy resizeSignals.m from the original example folder to your current folder. Then you can use it.
  1 commentaire
Althaff Mohideen
Althaff Mohideen le 6 Fév 2020
Hi There,
Thanks for the pointer.
Is not the resizeSignals.m file supposed to be within the Deep-Learning toolbox? and just run without needing to copy paste?
the example I was referring to is from the mathwork site, here is the (Link).
by the way the resizeSignals.m file is located at /usr/local/MATLAB/R2019a/examples/deeplearning_shared/main/resizeSignals.m
I hope this is the default matlab installation location for linux boxes.
I will try your suggestion and see if it works, and will report it.
Thanks again.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by