一个关于MATLAB的编程问题,知道的大神帮帮忙

[复制链接]
查看11 | 回复1 | 2010-9-12 14:34:23 | 显示全部楼层 |阅读模式
syms h af2;
f2=sym(((sqrt(1.5^2-(1.5-h).^2)+sqrt(1.5^2-(1.5-h+tan(a)).^2))).*8./cos(a));
V2=int(f2,h,8*tan(a),h);
每次总是会提示错误
Error using ==> sym.maple
Error, (in limit) invalid limiting point
Error in ==> sym.int at 51
r = reshape(maple('map','int',f(:),[x.s '=(' a.s ')..(' b.s ')']),size(f));
请大家帮忙吗!小弟非常急

回复

使用道具 举报

千问 | 2010-9-12 14:34:23 | 显示全部楼层
clear;clcsyms h af2=(sqrt(1.5^2-(1.5-h)^2)+sqrt(1.5^2-(1.5-h+tan(a))^2))*8/cos(a);V2=int(f2,h,8*tan(a),h);V2=simple(V2)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则