On Wed, 2015-06-10 at 23:11 +0200, paul.carr...@free.fr wrote: > Dear All > > I get a Matlab file and I would like to know what is the equivalent to > > Matlab: > n = 6; > [u,v]=eigs(K,M,n,'SM'); // where K and U and 2 sparse matrix > //'SM' means Smallest for my understanting -> looking > for the 6th lower eigen values, isn't it ? > > Scilab: > Spec or bdiag seems to be equivalent, but I failed in using them > > How should I to proceed ? > > Thanks > > Paul
spec (short for "spectrum"): -->A = rand(3,3,"n") A = 0.3501626 - 1.4061926 0.5546874 1.0478272 - 1.0384734 - 0.2143931 - 1.3218008 - 1.7350313 - 2.0735088 -->spec(A) ans = - 0.2010690 + 1.3816266i - 0.2010690 - 1.3816266i - 2.3596815 -- Tim Wescott www.wescottdesign.com Control & Communications systems, circuit & software design. Phone: 503.631.7815 Cell: 503.349.8432 _______________________________________________ users mailing list users@lists.scilab.org http://lists.scilab.org/mailman/listinfo/users