Effacer les filtres
Effacer les filtres

Matrix dimensions must agree problem.

1 vue (au cours des 30 derniers jours)
Patrick Chad Ablig
Patrick Chad Ablig le 19 Août 2019
Modifié(e) : madhan ravi le 19 Août 2019
tx1 = times(freq,MP.d); %1x100 matix
tx2 = times((m-1),sind(MP.theta_vec)); %1000x7
tx3 = times(tx2,tx1); %Matrix dimensions must agree.
Is there another way to resolve this? Thanks.

Réponses (1)

madhan ravi
madhan ravi le 19 Août 2019
Modifié(e) : madhan ravi le 19 Août 2019
tx1.*tx2(:) % error is gone who knows if the logic is right.
times(tx1,tx2(:))
% bsxfun(@times,tx1,tx2(:)) if 2016a <

Catégories

En savoir plus sur Programming 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