<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Calibri">Hello,<br>
      <br>
      You can use the eigs routine from ARPACK<br>
      <a class="moz-txt-link-freetext" href="http://help.scilab.org/docs/5.5.2/en_US/eigs.html">http://help.scilab.org/docs/5.5.2/en_US/eigs.html</a><br>
      <br>
      An example<br>
    </font>
    <pre style="font-family:Monospaced;font-style:normal;font-size:16.0;"><span style="color:rgb(0,0,0);">A</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(174,92,176);text-decoration:underline;">sprand</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(188,143,143);">1000</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">1000</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">0.02</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">normal</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(100,174,100);font-style:italic;">// creates a random sparse matrix of size 1000 x 1000 and density 0.02</span>
<span style="color:rgb(74,85,219);">[</span><span style="color:rgb(0,0,0);">d</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(0,0,0);">v</span><span style="color:rgb(74,85,219);">]</span> <span style="color:rgb(92,92,92);">=</span> <span style="color:rgb(174,92,176);text-decoration:underline;">eigs</span><span style="color:rgb(74,85,219);">(</span><span style="color:rgb(0,0,0);">A</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(74,85,219);">[</span><span style="color:rgb(74,85,219);">]</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">10</span><span style="color:rgb(0,0,0);">,</span> <span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">SM</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(74,85,219);">)</span><span style="color:rgb(0,0,0);">;</span> <span style="color:rgb(100,174,100);font-style:italic;">// computes the 10 smallest eigenvalues of A</s
pan></pre>
    Hope it helps,<br>
    <br>
    <div class="moz-cite-prefix">Le 10/06/2015 23:11,
      <a class="moz-txt-link-abbreviated" href="mailto:paul.carrico@free.fr">paul.carrico@free.fr</a> a écrit :<br>
    </div>
    <blockquote
cite="mid:1821059326.532022691.1433970663276.JavaMail.root@zimbra5-e1.priv.proxad.net"
      type="cite">
      <pre wrap="">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
_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Pierre-Aimé Agnel
R&D Projects Manager
Phone:  +33.1.80.77.04.67
Mobile: +33.6.82.49.35.23
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.68
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a> </pre>
  </body>
</html>