I have some questions about the example "Denoise Signals with Generative Adversarial Networks"

7 views (last 30 days)
when i run the example, I get the following errors
1. The function or variable 'helperDeepSignalDenoiserAE' is not recognized.
Error denoise (line 15)
helperDeepSignalDenoiserAE(SignalLength=1024, ...
corresponds to this part of the program
2. The function or variable 'helperDeepSignalDenoiserGAN' is not recognized.
Error denoise (line 38)
helperDeepSignalDenoiserGAN(SignalLength=1024, ...
corresponds to this part of the program
if you have some methods to solve that, please tell me, thank you very much, have a nice day!

Accepted Answer

Walter Roberson
Walter Roberson on 17 Feb 2025
When you
openExample('deeplearning_shared/DeepSignalDenoiserExample')
then the directory that you are automatically cd()'d to includes the files helperDeepSignalDenoiserGAN.m helperDeepSignalDenoiserAE.m
  3 Comments
Walter Roberson
Walter Roberson on 17 Feb 2025
transposedConv1dLayer is a function that is part of Deep Learning Toolbox. It was introduced in R2022a. Is it possible that you are using an older MATLAB release?
Yi Ma
Yi Ma on 18 Feb 2025
Yes, thanks for your answer. It is indeed the issue caused by the version of MATLAB. Have a great day!

Sign in to comment.

More Answers (1)

Catalytic
Catalytic on 17 Feb 2025
  1 Comment
Yi Ma
Yi Ma on 17 Feb 2025
thank you for your answer, but i don't find the function which have the name of "helperDeepSignalDenoiserAE" or "helperDeepSignalDenoiserGAN"
At the bottom of the page, there are only these functions below:

Sign in to comment.

Categories

Find more on Signal Processing Toolbox 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!