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

조회 수: 3(최근 30일)
for i = 1:60;
x = y(i,:) ;
F = wden(x,'rigrsure','s','mln',5,'db5');
%It only save the last filterd signal in the variable (F) and I need it to save all of the filterd signals.

채택된 답변

KALYAN ACHARJYA 2022년 9월 19일
F data can be store in cell array.
for i = 1:60;
x = y(i,:) ;
F{i}= wden(x,'rigrsure','s','mln',5,'db5');
  댓글 수: 2
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개)


Find more on Machine Learning and Deep Learning 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!

Translated by