Understanding the Matlab code

3 vues (au cours des 30 derniers jours)
Rehman Tanim
Rehman Tanim le 25 Nov 2020
Commenté : Rehman Tanim le 25 Nov 2020
clear
close all
A = load('r10_edfm.mat');
B = load('r08_edfm.mat');
d = A.val(1,:);
d_T = d';
input_channel = 3; % this is where we change the input channel
noisy_sig = B.val(input_channel,:);
noisy_sig_T = noisy_sig';
Fs = 1000;
Ts = 1/Fs;
order = 4000; %this is where we can adjust the order
mu = 0.76; %this is where we can adjust mu (0.4 < mu < 0.99)
lms = dsp.LMSFilter(order + 1, 'StepSize', mu, 'Method', 'Normalized LMS', 'WeightsOutputPort', true);
[mu_max, mu_min] = maxstep(lms, noisy_sig)
[y,e,w] = step(lms, noisy_sig_T, d_T);
can anyone explain the bolded line..

Réponse acceptée

Sriram Tadavarty
Sriram Tadavarty le 25 Nov 2020
Hi Rehman,,
The bolded line in the code is
d_T = d';
The above lines indicates complex conjugate transpose of matrix d is assigned in d_T variable. For more about complex conjugate transpose operation, look here.
Hope this helps.
Regards,
Sriram
  1 commentaire
Rehman Tanim
Rehman Tanim le 25 Nov 2020
THANKS FOR REPLYING

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur File Operations dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by