|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
result(xl,rl);
function result(xl,rl)
syms x y
equ=(x-rl/(1+rl)).^2 + y.^2 -(1/(1+rl)^2);
equ1=(x-1).^2+(y-1/xl).^2-(1/xl)^2';
[x,y]=solve(equ,equ1);
t=x(2,:);m=y(2,:);
plot(double(t),double(m),'r*');
运行警告Warning: Function failed to evaluate on array inputs; vectorizing the function may
speed up its evaluation and avoid the need to loop over array elements.
运行.exe错误???undefined function or method 'syms' for
input arguments of type 'char'
帮帮我吧!!:'( |
|