正在写一个for循环,还没写完,按回车后系统就说error……偶是初学者~这种低级问题书上也不会说的,麻烦哪位高手指点下吧~还有出现这种情况后,我怎么在已经写出的语句中进行修改呢?(无法使用“返回上一步……”)下面是command window中出错的情况:
Using Toolbox Path Cache. Type "help toolbox_path_cache" for more info.
To get started, select "MATLAB Help" from the Help menu.
>> A=zeros(19,19);B=zeros(19,19);
>> X=zeros(19);
>> for i=1:19
A(i,i+1)=-((0.005/(0.05^2))*((i-1+1/2)*0.05)^2))
??? A(i,i+1)=-((0.005/(0.05^2))*((i-1+1/2)*0.05)^2))
|
Error: Missing operator, comma, or semicolon.
>>