Can someone explain why I'm getting this error message and how shall i correct it??
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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 Comment
Walter Roberson
on 27 Jun 2013
Please show us
size(k), size(deltat), size(m1)
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!