给个答案-->柳儿转移
function f=TranGrade(x)switch fix(x/10)
case{10,9}
f='A';
case 8
f='B';
case 7
f='C';
case 6
f='D';
atherwise
f='e';
end
这个在MATABAL上怎么运行??请指教!!
2006-04-13 10:43

2006-04-13 13:00
2006-04-13 21:23
随便假设X=15;
在命令窗口输入:TranGrade(15)回车后就可以得到结果了
2006-04-17 22:31
老兄,是'otherwise'
而不是atherwise
2006-04-18 20:27




........
2006-04-19 19:43