求助~菜鸟的第一个matlab就挂掉了!
A=int16(rand(99));B=zeros(99,99);
i=0;j=0;
for i=2:1:98
for j=2:1:98
B(i,j)=score(A(i,j),A(i,j-1),1.9)+score(A(i,j),A(i,j+1),1.9)+score(A(i,j),A(i-1,j),1.9)+score(A(i,j),A(i+1,j),1.9);
end
end
这个怎么测试都不过……这是为什么? >> help score
score.m not found.
Use the Help browser Search tab to search the documentation, or
type "help help" for help command options, such as help for methods.
我的matlab7.1没有score这个函数 score函数没定义啊。。。 {:3_41:}{:3_41:}{:3_41:} 把你的错误提示发一下吗~~~
页:
[1]