MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   Maple论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=35)
-   -   [求助]为什么我用的msolve只能传回五个解 (https://www.labfans.com/bbs/showthread.php?t=5095)

kingnan_007 2008-11-01 04:57

[求助]为什么我用的msolve只能传回五个解
 
哪位哥们能帮帮忙,帮我看下为什么我用的msolve只能传回五个解呢,应该有更多解的呀,

> msolve({x1+x2+x3=1,x4+x5+x6=1,x7+x8+x9=1,x1+x4+x7=1,x2+x5+x8=2,x3+x6+x9=0},2);
{x1 = 1, x2 = 0, x3 = 0, x4 = 0, x6 = 1, x5 = 0, x9 = 1, x7 = 0, x8 = 0},
{x5 = 1, x1 = 1, x2 = 0, x3 = 0, x4 = 0, x6 = 0, x8 = 1, x7 = 0, x9 = 0},
{x1 = 1, x4 = 1, x2 = 0, x3 = 0, x6 = 0, x5 = 0, x7 = 1, x8 = 0, x9 = 0},
{x5 = 1, x1 = 1, x4 = 1, x2 = 0, x3 = 0, x6 = 1, x8 = 1, x7 = 1, x9 = 1},
{x3 = 1, x2 = 0, x4 = 0, x1 = 0, x6 = 1, x5 = 0, x7 = 1, x8 = 0, x9 = 0}

应该还有其他解的,谁能跟我具体讲讲msolve这个函数呢?
非常感谢

kingnan_007 2008-11-02 00:51

回复: 紧急求助
 
怎么没有人回复呢,我能再问一个问题吧,用msolve这个函数,怎么才能把所有的possible solutions都返回呢?或者我在哪里才能看到所有的solutions。 非常感谢


所有时间均为北京时间。现在的时间是 05:00

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.