afeige 发表于 2010-3-15 05:27:39

符号矩阵怎么约分化简

计算得到一个符号矩阵,有几项是0的,但结果偏偏是没有约分和化简的项,请问怎么处理?多谢!

mathfan2008 发表于 2010-3-15 10:06:39

可能的处理方法:

1. 用化简命令simplify试试。

2. 看看要简化的量有没有限制,比如说实数/正数。

附件是一个反馈控制系统的例子。

建议:“Clickable Math”是Maple的一个特征,对Maple掌握不深的情况下,可以用右键菜单试试。

afeige 发表于 2010-3-15 23:46:44

谢谢mathfan2008!其实也就是简单的符号运算:
with(linalg):
A1:=matrix([,,]);
A2:=transpose(matrix([,,]));
AA:=matrix([,,]);
evalm(A1&*AA&*A2);
结果应该是个对角阵,不知怎么化简,用了simplify,不行。

mathfan2008 发表于 2010-3-16 10:47:32

本帖最后由 mathfan2008 于 2010-3-16 10:52 编辑

本来想用Maple输出Latext,然后贴到论坛上。好像不行。

mathfan2008 发表于 2010-3-16 10:54:57

本帖最后由 mathfan2008 于 2010-3-16 11:02 编辑

assume = nonnegative

Maple offers two choices for performing calculations in linear algebra: the linalg package and the LinearAlgebra package. The linalg package is deprecated, and use of the LinearAlgebra package is recommended.The following sections give more information on these packages and outline their differences.

More help information, please refer
>?Linear Algebra Computations in Maple

afeige 发表于 2010-3-16 12:24:23

非常感谢!但是我用classic worksheet maple 13 输入simplify(BBB,'assume=nonnegative'); 还是没有约掉,其中BBB是要化简的矩阵。
新手,不好意思。

mathfan2008 发表于 2010-3-16 12:32:57

Standard worksheet下可以吗?

我用标准界面是可以的,见附件。

mathfan2008 发表于 2010-3-16 12:41:44

Classic Worksheet 也可以用啊。

afeige 发表于 2010-3-16 12:42:54

我用了simplify(BBB, symbolic),就可以了。
Standard worksheet下可以。
谢谢!
页: [1]
查看完整版本: 符号矩阵怎么约分化简