Explicit solution could not be found出错求助
在运行程序时出现如下警告和错误Warning: Explicit solution could not be found.
> In dsolve at 330
In Newmark at 67
??? Subscripted assignment dimension mismatch.
其中in dsolve at 330提示
if isempty(R)
warning('symbolic:dsolve:warnmsg2','Explicit solution could not be found.');
varargout = cell(1,nargout);
varargout{1} = sym([]);
return
end
请教各位高手该如何解决这个问题。
非常感谢
[ 本帖最后由 ChaChing 于 2010-6-15 11:37 编辑 ]
回复 楼主 的帖子
错误没贴全吧只有警告啊
最好把程序也一并付上 varargout{1} = sym([]);
这个语句是什么意思?
Error, (in evalapply) integer too large in context 出错求助
在编程序的时候出现这个错误:??? Error using ==> dsolveError, (in evalapply) integer too large in context
原程序的部分程序如下:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%求解滞变位移
if relative_v>0;
Z=dsolve('DZ=42*relative_v*(1-Z)','Z(0)=0','relative_v');
Z=subs(Z,relative_v,'relative_v');
elseif relative_v==0;
Z=dsolve('DZ=42*relative_v','Z(0)=0','relative_v');
Z=subs(Z,relative_v,'relative_v');
else
Z=dsolve('DZ=42*relative_v*(-1-Z)','Z(0)=0','relative_v');
Z=subs(Z,relative_v,'relative_v');
end
请大家帮帮忙,给我指导一下问题出在什么地方,非常感谢!
[ 本帖最后由 eight 于 2008-5-4 21:02 编辑 ]
回复 2楼 的帖子
http://forum.vibunion.com/forum/viewthread.php?tid=33258&page=1你自己也找到了
仔细看看
另外最好有完整的程序 请问楼上的,他那边用到了一个maple函数,我没有用到阿,问题一样吗?
页:
[1]