Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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);

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!