Can someone explain why I'm getting this error message and how shall i correct it??

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);

Réponses (0)

Cette question est clôturée.

Question posée :

le 27 Juin 2013

Community Treasure Hunt

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

Start Hunting!

Translated by