How to save multiple vector signals in one variable using wavelet Denoising?

1 回表示 (過去 30 日間)
for i = 1:60;
x = y(i,:) ;
F = wden(x,'rigrsure','s','mln',5,'db5');
end
%It only save the last filterd signal in the variable (F) and I need it to save all of the filterd signals.

採用された回答

KALYAN ACHARJYA
KALYAN ACHARJYA 2022 年 9 月 19 日
F data can be store in cell array.
F=cell(1,60);
for i = 1:60;
x = y(i,:) ;
F{i}= wden(x,'rigrsure','s','mln',5,'db5');
end
  2 件のコメント
Mustafa Mustafa
Mustafa Mustafa 2022 年 9 月 19 日
Thanks a lot it worked, I appreciate it very much 💛
Mustafa Mustafa
Mustafa Mustafa 2022 年 9 月 20 日
% I want to do feature extraction for signals and then apply ANN classification on them,, can you help please?
Fs = 50; sf = waveletScattering('SignalLength', 4950, 'SamplingFrequency', Fs) ;
s = cell(120,1); parfor j = 1:120; r = featureMatrix(sf, f(j, :)) ; s{j, 1} = r; end
h = cell2mat(s) ; b = cell2table(s) ; c = table2dataset(b);
%the single signal was in one row, but after this it becomes 202rows×10columns, and I can't apply ANN like this Any ideas?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeContinuous Wavelet Transforms についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by