主题: [MATLAB基础] 下面的代码哪里错误
查看单个帖子
旧 2009-05-11, 19:04   #1
laurence06
初级会员
 
注册日期: 2009-04-27
帖子: 5
声望力: 0
laurence06 正向着好的方向发展
默认 下面的代码哪里错误

a=100;
b=0:0.01:0.55;
theta=2.5;
c=1;
h=0.25;
w=2.5;
space=((a*b) ./(h*theta))^(1 ./(1-b))*((theta-1) ./(theta*w))^((theta-1) ./(1-b));
plot(space,b,'mh');
grid on
??? Error using ==> mpower
At least one operand must be scalar.
laurence06 当前离线   回复时引用此帖