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

5 ビュー (過去 30 日間)
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

採用された回答

Shunichi Kusano
Shunichi Kusano 2020 年 2 月 5 日
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 件のコメント
Althaff Mohideen
Althaff Mohideen 2020 年 2 月 6 日
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.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by