How can I get a delay input for a TDN within a specific range, but only use every n-th. sample.

1 vue (au cours des 30 derniers jours)
Hello,
I´m trying to implement a TDN by timedelaynet() and after that I´m using preparets() to get the time delayed data to train and test it. I have a signal which is sampled by 50Hz so it´s not necessary to have every sample in a delay range from 1 to 100 and it´s decreasing the computing time if I use only every second sample in this delay range.
Maybe a little example:
Right now I´m implementing a TDN and telling it to have an input-delay by 100 and this net is given to preparets() and I get the output from this function which gives me the input-data-arrays, which are delayed by 100. But what I´m looking for is more like to set this up, to get a net, which gets the delayed input-data in the range from 1 to 100, but only uses every 4th sample. Which means i have the delay indices [1,5,9,13...] instead of [1,2,3,4,5,...].
How can I achieve this?

Réponses (0)

Catégories

En savoir plus sur Deep Learning Toolbox 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