Assignment has more non-singleton rhs dimensions than non-singleton subscripts

1 vue (au cours des 30 derniers jours)
ode
  2 commentaires
Walter Roberson
Walter Roberson le 20 Juin 2017
Please post the complete error message, everything in red
Jan
Jan le 20 Juin 2017
Modifié(e) : Jan le 20 Juin 2017
Please use terms as tags, which allows to classify your question. "Walter Roberson" might read or answer your message also, if his name is not used as tag. Thanks.
If you post the complete error message, the readers do not have to guess, where the error occurres.

Connectez-vous pour commenter.

Réponse acceptée

KSSV
KSSV le 20 Juin 2017
Replace line
xx(:,i+2)=2*xx(:,i+1)-xx(:,i)-del*D*(xx(:,i+1)-xx(:,i))+del^2*(fx(xx(:,i))+B*u(i));
With
xx(:,i+2)=2*xx(:,i+1)-xx(:,i)-del*D*(xx(:,i+1)-xx(:,i))+del^2*(fx(xx(:,i))'+B*u(i));
  2 commentaires
viki yadav
viki yadav le 21 Juin 2017
Thank you very much, sir. it works.
KSSV
KSSV le 21 Juin 2017
Thanks is accepting the answer...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by