Does anyone has WaveformData data referred in the "Time Series Anomaly Detection Using Deep Learning" example?

103 次查看(过去 30 天)
This is the data I'm referring to:
https://in.mathworks.com/help/deeplearning/ug/time-series-anomaly-detection-using-deep-learning.html

采纳的回答

Cris LaPierre
Cris LaPierre 2022-8-26
The data ships as part of the example. It can be obtained by running the first line of code in the linked example
load WaveformData
You may need to have the Deep Learning Toolbox installed to access it. You can check if you have it by running the following command in MATLAB
which WaveformData.mat
  5 个评论
Cris LaPierre
Cris LaPierre 2023-9-4
Beginning in R2023a, the product documentation is no longer installed by default (see here). A side effect of this is that some example datasets are no longer installed by default. You can still access them by either installing the documentation, or by finding an example in the online documentation that uses that file, and then use the 'Open in MATLAB Online' or 'Copy Command' workflows to open that example (along with any associated data files) in your MATLAB instance.
The copy command the example above is openExample('nnet/TimeSeriesAnomalyDetectionUsingDeepLearningExample')
The file is downloaded to a local folder along with any necessary supporting files. If it is a file you use often, consider adding the example folder to your MATLAB Path.

请先登录,再进行评论。

更多回答(2 个)

Maria Battle
Maria Battle 2022-10-21
编辑:Maria Battle 2022-11-1
If for some reason you don't have access to WaveformData, you might be able to create a dataset for yourself using a wave form generator. It's not necessarily elegant, but the below might get you started. Ref: https://www.mathworks.com/help/wlan/gs/waveform-generation.html
wave_out = cell(1);
for k = 1:5 % specify how many samples you want
cfgHESU = wlanHESUConfig;
bits = randi([0 1],1,4);
osf = 2;
waveformHESU = wlanWaveformGenerator(bits,cfgHESU, ...
NumPackets=1,IdleTime=15e-6, ...
OversamplingFactor=osf);
fsHESU = wlanSampleRate(cfgHESU.ChannelBandwidth);
time = (0:length(waveformHESU)-1)/fsHESU;
wave_out{k} = [time; abs(waveformHESU')];
end

Nikolaev
Nikolaev 2024-4-3
wave_out = cell(1);
for k = 1:5 % specify how many samples you want
cfgHESU = wlanHESUConfig;
bits = randi([0 1],1,4);
osf = 2;
waveformHESU = wlanWaveformGenerator(bits,cfgHESU, ...
NumPackets=1,IdleTime=15e-6, ...
OversamplingFactor=osf);
fsHESU = wlanSampleRate(cfgHESU.ChannelBandwidth);
time = (0:length(waveformHESU)-1)/fsHESU;
wave_out{k} = [time; abs(waveformHESU')];
end

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by