Can someone explain why I'm getting this error message and how shall i correct it??
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
In the code :
Y(i+1)=Y(i)*(1-k/(6*pi))+sqrt(12*pi/deltat)*m1*deltat/(6*pi);
I'm getting an error saying :
In an assignment A(I) = B, the number of elements in B and I must be the same.
Error in B_m_withP (line 22)
Y(i+1)=Y(i)*(1-k/(6*pi))+sqrt(12*pi/deltat)*m1*deltat/(6*pi);
1 commentaire
Walter Roberson
le 27 Juin 2013
Please show us
size(k), size(deltat), size(m1)
Réponses (0)
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!