求大神解决matlab问题!
[x,y,z]=solve('1245572133718800698226781/703687441776640000000-(776609*y)/20000-(4012...
[x,y,z]=solve('1245572133718800698226781/703687441776640000000 - (776609*y)/20000 - (40122129979280075*z)/1125899906842624 - (38626517211016134611*x)/562949953421312000=0','(x-22.6853)/cosd(51.3402)=(y-17.9944)/cosd(38.6598)=(z-13.6981)/cosd(52.0148))','x','y','z')
警告: Support of strings that are not valid variable names or define a number will be removed in a future release. To create symbolic expressions, first create symbolic variables and then use operations on them.
> In sym>convertExpression (line 1536)
In sym>convertChar (line 1441)
In sym>tomupad (line 1198)
In sym (line 177)
In solve>getEqns (line 405)
In solve (line 225)
警告: Support of strings that are not valid variable names or define a number will be removed in a future release. To create symbolic expressions, first create symbolic variables and then use operations on them.
> In sym>convertExpression (line 1536)
In sym>convertChar (line 1441)
In sym>tomupad (line 1198)
In sym (line 177)
In solve>getEqns (line 405)
In solve (line 225)
错误使用 symengine
Unexpected ')'.
出错 sym>convertExpression (line 1543)
s = mupadmex({x});
出错 sym>convertChar (line 1441)
s = convertExpression(x);
出错 sym>tomupad (line 1198)
S = convertChar(x);
出错 sym (line 177)
S.s = tomupad(x);
出错 solve>getEqns (line 405)
a = sym(a);
出错 solve (line 225)
[eqns,vars,options] = getEqns(varargin{:}); 展开
警告: Support of strings that are not valid variable names or define a number will be removed in a future release. To create symbolic expressions, first create symbolic variables and then use operations on them.
> In sym>convertExpression (line 1536)
In sym>convertChar (line 1441)
In sym>tomupad (line 1198)
In sym (line 177)
In solve>getEqns (line 405)
In solve (line 225)
警告: Support of strings that are not valid variable names or define a number will be removed in a future release. To create symbolic expressions, first create symbolic variables and then use operations on them.
> In sym>convertExpression (line 1536)
In sym>convertChar (line 1441)
In sym>tomupad (line 1198)
In sym (line 177)
In solve>getEqns (line 405)
In solve (line 225)
错误使用 symengine
Unexpected ')'.
出错 sym>convertExpression (line 1543)
s = mupadmex({x});
出错 sym>convertChar (line 1441)
s = convertExpression(x);
出错 sym>tomupad (line 1198)
S = convertChar(x);
出错 sym (line 177)
S.s = tomupad(x);
出错 solve>getEqns (line 405)
a = sym(a);
出错 solve (line 225)
[eqns,vars,options] = getEqns(varargin{:}); 展开
2个回答
展开全部
由于题主现在使用的matlab是高版本,而你提供的代码在低版本上使用是没有问题的。所以你应该这样来写:
sysm x y z
[x,y,z]=vpasolve(1245572133718800698226781/703687441776640000000 - (776609*y)/20000 - (40122129979280075*z)/1125899906842624 - (38626517211016134611*x)/562949953421312000==0,(x-22.6853)/cosd(51.3402)==(y-17.9944)/cosd(38.6598),(y-17.9944)/cosd(38.6598)==(z-13.6981)/cosd(52.0148))
运行结果
万山数据
2024-11-14 广告
2024-11-14 广告
实时数仓处理是我们北京万山数据科技有限公司数据处理能力的核心之一。它基于先进的流处理技术,能够实时捕获、处理和分析海量数据,确保数据的时效性和准确性。通过构建高效的实时数据管道,我们能够实现数据的即时入库与查询,为业务决策提供强有力的支持。...
点击进入详情页
本回答由万山数据提供
展开全部
function turev_s(x, y, d, r)
f = sym(x);
n = length(symvar(f));
if n == 1
s = diff(f,y);
sade = simplify(s)
pretty(s)
if r ~= 0
sonuc = double(subs(f,{d},{r}));
end
elseif n == 2
s = diff(f,y);
sade = simplify(s)
pretty(s)
if r ~= 0
sonuc = double(subs(f,{d},{r}));
end
elseif n == 3
s = diff(f,y);
sade = simplify(s)
pretty(s)
if r ~= 0
sonuc = double(subs(f,{d},{r}));
end
end
fprintf('Sonuc = %.4f\n',sonuc);
end
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |