如何使用<>
运算符解决MATLAB中的不等式,
我尝试运行以下示例(解决方案为x=y
或y
):
syms x y;
eqn1 = x^2==y^2;
eqn2 = 3*x<>3*y;
eqn = [eqn1 eqn2];
solve(eqn)
但出现错误。帮助没有提供an answer。
如果没有内置解决方案,我该如何指定solve
函数以外的值
答案 0 :(得分:0)
18/06/27 12:17:18 WARN conf.FlumeConfiguration: Agent configuration for 'TwitterAgent' does not contain any valid channels. Marking it as invalid.
18/06/27 12:17:18 WARN conf.FlumeConfiguration: Agent configuration invalid for agent 'TwitterAgent'. It will be removed.
18/06/27 12:17:18 INFO conf.FlumeConfiguration: Post-validation flume configuration contains configuration for agents: []
18/06/27 12:17:18 WARN node.AbstractConfigurationProvider: No configuration found for this host:TwitterAgent
18/06/27 12:17:18 INFO node.Application: Starting new configuration:{ sourceRunners:{} sinkRunners:{} channels:{} }
运算符not equal
在Matlab中定义为~= (docs)
,因此您可以将代码更改为:
<>