<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#330000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">hI <br>
<br>
This is interpreted as 1.0/[2 3 4] (yes it is combersome)<br>
<br>
you want to use:<br>
<br>
1.0./[2 3 4]<br>
<br>
or <br>
<br>
1 ./[2 3 4] //mind the space before the dot<br>
<br>
you can also use [2 3 4].^-1<br>
<br>
<br>
note that <br>
<br>
[2 3 4]*[0.0689;0.1034;0.1379] = 1<br>
<br>
also note the orientation of each matrix (row or column)<br>
<br>
<br>
On 19/10/2012 08:14, Melvyn Drag wrote:<br>
</div>
<blockquote
cite="mid:1350627241.29172.YahooMailNeo@web124902.mail.ne1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:tahoma,
new york, times, serif;font-size:12pt">
<div>In one of the exercises that came with the scilab
documentation there is a question that says:</div>
<div>Why does:</div>
<div>1./[2 3 4]</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>give
the strange result</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">0.0689</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">0.1034</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">0.1379</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">Instead of</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">0.5</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">0.333</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">0.25</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">I can't seem to come up
with an answer.</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">Thanks for the help!</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; "><br>
</div>
<div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
tahoma, 'new york', times, serif; background-color:
transparent; font-style: normal; ">Mel</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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>
</body>
</html>