<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
Le 17/07/2010 23:28, Pedro Ledoux a écrit :
<blockquote cite="mid:474899.795.qm@web120505.mail.ne1.yahoo.com"
type="cite">
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td
style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;"
valign="top"><br>
Hello<span style="text-decoration: underline;"><br>
<br>
</span>I'm Pedro Ledoux, I'm a electrical engineering student.
At university I try to do as many as possible using free softwares
including Scilab. During the project of a passive high pass filter I
had to get the roots of a 12 order polynomial function. So I typed in
Scilab environment:<br>
<br>
v= [1.12119799 0 3.512D+13 32 3.275D+27 0 1.117D+41 4.952D+27
1.722D+54 0 1.224D+67 0 3.262D+79 ];<br>
roots(v) <span style="text-decoration: underline;"><br>
<span style="text-decoration: underline;"><br>
</span></span>Unfortunately Scilab failed.<span
style="text-decoration: underline;"><span
style="text-decoration: underline;"><span
style="text-decoration: underline;"></span></span></span> The message
:" !--error 24 Convergence problems,," has appear. I didn't tryed it in
Matlab but GNU octave was able to calculate those roots. By now I'm not
a great programmer yet and the only way that I have to contribute to
Scilab is using in and reporting bugs.<span
style="text-decoration: underline;"> <br>
<br>
</span>If almost developers are French I can speak French also
if it is more comfortable. <span style="text-decoration: underline;"><br>
</span></td>
</tr>
</tbody>
</table>
<br>
</blockquote>
<font size="+1">You can use roots(v,"e"). In this the algorithm
computes the eigenvalues of the companion matrix. It is a slower
algorithm, but it never fail.<br>
<br>
Serge Steer<br>
<br>
</font>
</body>
</html>