[prev in list] [next in list] [prev in thread] [next in thread]
List: scilab-users
Subject: [Scilab-users] adding a %nan entry to an xlssheet(Mlist) type of variable
From: christophk <christoph.knappe () gmail ! com>
Date: 2019-02-19 11:55:38
Message-ID: 1550577338143-0.post () n3 ! nabble ! com
[Download RAW message or body]
Hi,
I have A, a 344x1 size xlssheet(Mlist).
A(1:100) consists of double entries
A(101:$) consists of string entries.
I want to add a new line to that mlist that contains the "%nan" entry for
the first row:
When I do the following:
A.text = ["";A.text];
A.value =[%nan;A.value];
then A(1) returns an empty string instead of the desired %nan element.
I get that because all rows i of A.text where A(i) contains double elements
have a "" string entry.
And all rows j of A.value where A(j) contain string entries have a "NaN"
entry.
But this raises the question, how does an entry k of A look like in A.text
and A.value vectors, that would produce A(k) = NaN for the mlist?
Any help would be highly appreciated!
P.S.: Sorry for any duplicate posts that await the moderator's approval - I
tried to post this question twice before I found out wether I was or wasn't
signed up for the subscribers list. X-)
--
Sent from: http://mailinglists.scilab.org/Scilab-users-Mailing-Lists-Archives-f2602246.html
_______________________________________________
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic