Does anyone has WaveformData data referred in the "Time Series Anomaly Detection Using Deep Learning" example?
Show older comments
This is the data I'm referring to:
https://in.mathworks.com/help/deeplearning/ug/time-series-anomaly-detection-using-deep-learning.html
Accepted Answer
More Answers (2)
Maria Battle
on 21 Oct 2022
Edited: Maria Battle
on 1 Nov 2022
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
1 Comment
S Baharath Sai
on 1 Nov 2022
Nikolaev
on 3 Apr 2024
0 votes
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
Categories
Find more on Logical 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!