generate c code for wdenoise funciton

1 次查看(过去 30 天)
li chen
li chen 2019-10-22
回答: li chen 2019-10-22
I'm using wdenoise to denoise the signal. However, when I need to generate the function into c code by matlab coder, I see the denoise doesn't have this capability. I see the wden function can do the similar job with c/c++ code generation capability. In matlab help document, it said "wden is no longer recommended. Use wdenoise instead." So Is it OK for me to use wden instead of wdenoise?

回答(1 个)

li chen
li chen 2019-10-22
I'm trying to smooth out the gyro and acceleration data, the code snippet is like below:
Data_out = wdenoise(Data_In, 4,...
'Wavelet', 'db20',...
'DenoisingMethod', 'Minimax', ...
'ThresholdRule', 'Soft',...
'NoiseEstimate', 'LevelIndependent');

类别

Help CenterFile Exchange 中查找有关 Denoising and Compression 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by