Effacer les filtres
Effacer les filtres

Error matrix Dimensions must agree

1 vue (au cours des 30 derniers jours)
wided hechkel
wided hechkel le 11 Juin 2020
Modifié(e) : wided hechkel le 11 Juin 2020
a=1.2;
x=-a:(2.4/128):a;
[h,k]= meshgrid(-4:0.01:4,0:0.01:11);
y = ((k.*x)./(minus(h,(sign(minus(x,h)).*a)))) + ((k.*a)./(minus(a,(sign(minus(x,h)).*h))));
plot(x,y)
  2 commentaires
KSSV
KSSV le 11 Juin 2020
Check the size of x, it is different from h, k.
wided hechkel
wided hechkel le 11 Juin 2020
Modifié(e) : wided hechkel le 11 Juin 2020
Thank you very much. Yes, I know it different , but I don't know how can I simulate it. Please have a look at the two pdf attached were the problem is clarified and give me please your remarks!

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Matrices and Arrays 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