To denoise a time series signal using ResNet in Matlab, follow the steps below:
load
function.main.m20 chars2 lines
resnet
function in Matlab's deep learning toolbox.main.m438 chars16 lines
augmentedImageDatastore
to prepare the training data.main.m58 chars2 lines
trainNetwork
function. Here, we use a Mean Square Error (MSE) loss function and the stochastic gradient descent (SGD) optimizer.main.m259 chars10 lines
main.m37 chars2 lines
Here, yNoisy
is the noisy time series signal and yDenoised
is the denoised time series signal.
gistlibby LogSnag