[scilab-Users] in16 matrix

Stefan Du Rietz sdr at durietz.se
Thu Mar 26 15:39:00 CET 2009


Are you plotting or using all the data at once? I use double(data(index)) as input of part of data to functions that cannot handle integer type matrices. E.g. I don't plot all my data at once.

If someone has another solution I would also appreciate to get it!

Stefan


On 2009-03-26 15:14, Francis Drossaert wrote:
--------------------
> Can I follow up on this with a question?
> 
> After a matrix conversion with uint8 or unint16 or uint32 I can't use tabul(y) anymore and plot(y) does not work anymore either. Although plot2d(y) seems to work, it seems that there are Scilab function which can't handle integer matrices. Is there a work-around? I typically work with vectors with 2e7 elements which 1.6e8 bytes so some memory savings would be welcome.
> 
> Francis
> 
> -----Original Message-----
> From: Stefan Du Rietz [mailto:sdr at durietz.se] 
> Sent: 26 March 2009 13:31
> To: users at lists.scilab.org
> Subject: Re: [scilab-Users] in16 matrix
> 
> I quote from Scilab help:
> 
>   y=int16(X)
> 
> Regards
> Stefan
> 
> On 2009-03-25 19:59, ron wrote:
> --------------------
>> Hello,
>> I am wondering if it is possible to create an int16 type matrix. This
>> would save stack memory in my application since the matrix is huge.
>> How can I do this?
>> thank you.
>> ron
> 
> This email and any files contained therein is confidential and may contain privileged information.  If you are not the named addressee(s) or you have otherwise received this in error, you should not distribute or copy this e-mail or use any of its content for any purpose. Please notify the sender immediately by e-mail if you have received this e-mail in error and delete it from your system




More information about the users mailing list