<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19403"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><SPAN class=090043310-14032013><FONT color=#0000ff
size=2 face=Arial>a small mistake (typo error) in the previous code ...
change data1 in data (or vice versa)</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=fr class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De :</B> users-bounces@lists.scilab.org
[mailto:users-bounces@lists.scilab.org] <B>De la part de</B> Stéphane
Mottelet<BR><B>Envoyé :</B> jeudi 14 mars 2013 11:08<BR><B>À :</B>
International users mailing list for Scilab.<BR><B>Objet :</B> Re:
[Scilab-users] Data Extraction Issue in Scilab<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV class=moz-cite-prefix><BR>Hello,<BR><BR>this small script solves your
problem :<BR><BR><PRE style="FONT-STYLE: normal; FONT-FAMILY: Monospaced; FONT-SIZE: 12px"><SPAN style="COLOR: rgb(0,0,0)">fd</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(50,185,185)">mopen</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(188,143,143)">engine.in</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(188,143,143)">r</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(0,0,0)">s</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(50,185,185)">mgetl</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">fd</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">;</SPAN>
<SPAN style="COLOR: rgb(50,185,185)">mclose</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">fd</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">;</SPAN>
<SPAN style="COLOR: rgb(0,0,0)">data1</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</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(160,32,240)">for</SPAN> <SPAN style="COLOR: rgb(0,0,0)">i</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</SPAN><SPAN style="COLOR: rgb(255,170,0)">:</SPAN><SPAN style="COLOR: rgb(50,185,185)">size</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">s</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN>
<SPAN style="COLOR: rgb(0,0,0)">w</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(50,185,185)">strsplit</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">s</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">i</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(188,143,143)">/\s+/</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(160,32,240)">for</SPAN> <SPAN style="COLOR: rgb(0,0,0)">j</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</SPAN><SPAN style="COLOR: rgb(255,170,0)">:</SPAN><SPAN style="COLOR: rgb(50,185,185)">size</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">w</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN>
<SPAN style="COLOR: rgb(0,0,0)">data1</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">i</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(0,0,0)">j</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(0,0,0)">w</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">j</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">;</SPAN>
<SPAN style="COLOR: rgb(160,32,240)">end</SPAN>
<SPAN style="COLOR: rgb(160,32,240)">end</SPAN>
<SPAN style="COLOR: rgb(74,85,219)">[</SPAN><SPAN style="COLOR: rgb(0,0,0)">r</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(0,0,0)">c</SPAN><SPAN style="COLOR: rgb(74,85,219)">]</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(50,185,185)">find</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">data</SPAN><SPAN style="COLOR: rgb(92,92,92)">==</SPAN><SPAN style="COLOR: rgb(188,143,143)">'</SPAN><SPAN style="COLOR: rgb(188,143,143)">bore</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(0,0,0)">bore</SPAN><SPAN style="COLOR: rgb(92,92,92)">=</SPAN><SPAN style="COLOR: rgb(174,92,176); TEXT-DECORATION: underline">eval</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">data</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(0,0,0)">r</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(0,0,0)">,</SPAN><SPAN style="COLOR: rgb(0,0,0)">c</SPAN><SPAN style="COLOR: rgb(74,85,219)">(</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</SPAN><SPAN style="COLOR: rgb(74,85,219)">)</SPAN><SPAN style="COLOR: rgb(92,92,92)">-</SPAN><SPAN style="COLOR: rgb(188,143,143)">1</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(160,32,240)">
</SPAN></PRE>Hope this helps,<BR><BR>S.<BR><BR>Le 14/03/13 05:16, Munian,
Devaraj a écrit :<BR></DIV>
<BLOCKQUOTE
cite=mid:D73F6970A218454394B6AB23935F0AB858E4B02A@UK-EX-MBX-003.NMCorp.Nissan.Biz
type="cite">
<META name=Generator
content="Microsoft Word 14 (filtered
medium)"><!--[if !mso]>
<STYLE>v\:* {
BEHAVIOR: url(#default#VML)
}
o\:* {
BEHAVIOR: url(#default#VML)
}
w\:* {
BEHAVIOR: url(#default#VML)
}
.shape {
BEHAVIOR: url(#default#VML)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Verdana;
}
@page WordSection1 {margin: 1.0in 1.0in 1.0in 1.0in; size: 8.5in 11.0in; }
P.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
LI.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
DIV.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: 11pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
P {
FONT-FAMILY: "Times New Roman","serif"; MARGIN-LEFT: 0in; FONT-SIZE: 12pt; MARGIN-RIGHT: 0in; mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-style-priority: 99
}
P.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
LI.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
DIV.MsoAcetate {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Tahoma","sans-serif"; FONT-SIZE: 8pt; mso-style-priority: 99; mso-style-link: "Balloon Text Char"
}
SPAN.EmailStyle17 {
FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: personal-compose
}
SPAN.BalloonTextChar {
FONT-FAMILY: "Tahoma","sans-serif"; mso-style-priority: 99; mso-style-link: "Balloon Text"; mso-style-name: "Balloon Text Char"
}
.MsoChpDefault {
FONT-FAMILY: "Calibri","sans-serif"; mso-style-type: export-only
}
DIV.WordSection1 {
page: WordSection1
}
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<DIV class=WordSection1>
<P>Dear Scilab Support,<O:P></O:P></P>
<P>We here in RNTBCI are testing Scilab to compare it against Matlab. We are
doing a pilot project to convert our script in Matlab to Scilab for validating
purpose.<O:P></O:P></P>
<P>If we are able to get the same result in Scilab compared with Matlab, we
will be converting all our Matlab applications into Scilab
applications.<O:P></O:P></P>
<P>During our pilot project which is a most simplest project we are not able
to proceed further because of issues mentioned in the ppt.<O:P></O:P></P>
<P>I have also attached the data files and Matlab files for your
reference.<O:P></O:P></P>
<P>It will be really grateful if the issue is addressed at the
earliest.<O:P></O:P></P>
<P>Regards<O:P></O:P></P>
<P class=MsoNormal><O:P></O:P></P>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt">Devaraj</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt"> | Assistant
Manager | Tools and Methods |<BR><B>RENAULT NISSAN TECHNOLOGY &
BUSINESS CENTRE INDIA PRIVATE LIMITED<BR></B>Ascendas IT Park, Mahindra World
City SEZ | Plot # TP2/1, Natham Sub Post Office |<BR>3<SUP>rd</SUP> Floor |
Chengelpattu | Kancheepuram District | Tamilnadu 603002 | India |<BR>Tel #
| + 9144-67416303 |<BR>eMail | </SPAN><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt"
lang=FR><A href="mailto:devaraj.munian@rntbci.com"
moz-do-not-send="true"><SPAN style="COLOR: blue"
lang=EN-US>devaraj.munian@rntbci.com</SPAN></A></SPAN><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt">
| <O:P></O:P></SPAN></P>
<P class=MsoNormal><SPAN style="FONT-FAMILY: 'Times New
Roman','serif'; FONT-SIZE: 12pt"><IMG id=Picture_x0020_1 border=0
alt=cid:727344808@01032012-1EA6 src="cid:090043310@14032013-0089" width=175
height=25></SPAN><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt"
lang=FR><O:P></O:P></SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt"
lang=FR><O:P></O:P></SPAN></B></P>
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 10pt"
lang=ES-TRAD>T</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: gray; FONT-SIZE: 7.5pt"
lang=ES-TRAD>OGETHER</SPAN></B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: blue; FONT-SIZE: 10pt"
lang=ES-TRAD> </SPAN><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 10pt"
lang=ES-TRAD>E</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: gray; FONT-SIZE: 7.5pt"
lang=ES-TRAD>VERYBODY</SPAN></B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: blue; FONT-SIZE: 10pt"
lang=ES-TRAD> </SPAN><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 10pt"
lang=ES-TRAD>A</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: gray; FONT-SIZE: 7.5pt"
lang=ES-TRAD>CHIEVES</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: red; FONT-SIZE: 10pt"
lang=ES-TRAD> M</SPAN></B><B><SPAN
style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: gray; FONT-SIZE: 7.5pt"
lang=ES-TRAD>ORE</SPAN></B><SPAN
style="FONT-FAMILY: 'Arial','sans-serif'; COLOR: black; FONT-SIZE: 8pt"
lang=FR> <O:P></O:P></SPAN></P>
<P class=MsoNormal><O:P></O:P></P></DIV><BR>
<FIELDSET class=mimeAttachmentHeader></FIELDSET> <BR>
<P>***********************************************************************************************************<BR>CONFIDENTIALITY
NOTICE<BR><BR>This message is for the named person's use only. It may
contain confidential, proprietary or legally privileged information.<BR><BR>If
you receive this message in error, please immediately delete it and all copies
of it from your system, destroy any hard copies of it and notify us by email
to <A class=moz-txt-link-abbreviated
href="mailto:email.security@rntbci.com">email.security@rntbci.com</A> with a
copy of this message. You must not, directly or indirectly, use, disclose,
distribute, print or copy any part of this message if you are not the intended
recipient. RNTBCI and any of its subsidiaries each reserves the right to
monitor all e-mail communications through its networks.<BR><BR>RNTBCI is
neither liable for the proper, complete transmission of the information
contained in this communication nor any delay in its receipt. This email was
scanned for the presence of computer viruses. In the unfortunate event of
infection RNTBCI does not accept any liability.<BR><BR>Any views expressed in
this message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state
them.<BR>***********************************************************************************************************</P><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>
<pre>--------------------------------------------------------------------------------
Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.