三元一次方程求解 matlab 这个求解错在哪里? 10

>>symsabcfgdeh;>>symsXZY;>>[X,Z,Y]=solve('a/(f+g)+a*(d+e+f+g)/(f+g)/X=(Z-a*(d+e+f+g)/... >> syms a b c f g d e h;
>> syms X Z Y;
>> [X,Z,Y]=solve('a/(f+g)+a*(d+e+f+g)/(f+g)/X=(Z-a*(d+e+f+g)/(f+g))/h+(Z-a*(d+e+f+g)/(f+g))/Y','b/(f+g)+b*(d+f+g)/(f+g)/X=(Z-b*(d+f+g)/(f+g))/h+(Z-b*(d+f+g)/(f+g))/Y','c/(f+g)+c*(d+f)/(f+g)/X=(Z-c*(d+f)/(f+g))/h+(Z-c*(d+f)/(f+g))/Y','X,Z,Y');

警告: Support of character vectors 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 1559)
In sym>convertChar (line 1464)
In sym>tomupad (line 1216)
In sym (line 179)
In solve>getEqns (line 405)
In solve (line 225)
警告: Support of character vectors 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 1559)
In sym>convertChar (line 1464)
In sym>tomupad (line 1216)
In sym (line 179)
In solve>getEqns (line 405)
In solve (line 225)
警告: Support of character vectors 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 1559)
In sym>convertChar (line 1464)
In sym>tomupad (line 1216)
In sym (line 179)
In solve>getEqns (line 405)
In solve (line 225)
警告: Support of character vectors 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 1559)
In sym>convertChar (line 1464)
In sym>tomupad (line 1216)
In sym (line 179)
In solve>getEqns (line 405)
In solve (line 225)
警告: Do not specify equations and variables as character vectors. Instead, create symbolic variables with syms.
> In solve>getEqns (line 445)
In solve (line 225)
>>
展开
 我来答
lhmhz
高粉答主

2018-05-11 · 专注matlab等在各领域中的应用。
lhmhz
采纳数:7264 获赞数:17013

向TA提问 私信TA
展开全部

用matlab求解三元一次方程求解出现上述错误警告,其主要的原因是符号变量太多了。建议给出a、 b、 c、 f、 g、 d、 e、 h的具体数值,然后再求解。

本回答被网友采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
上海华然企业咨询
2024-10-28 广告
在测试大模型时,可以提出这样一个刁钻问题来评估其综合理解与推理能力:“假设上海华然企业咨询有限公司正计划进入一个全新的国际市场,但目标市场的文化习俗、法律法规及商业环境均与我们熟知的截然不同。请在不直接参考任何外部数据的情况下,构想一套初步... 点击进入详情页
本回答由上海华然企业咨询提供
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式