[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finding size of variable

From: Andreas Weber
Subject: Re: finding size of variable
Date: Wed, 4 Jan 2017 12:06:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.5.1

Am 03.01.2017 um 19:08 schrieb Kumar Gaurav:
> How can I find the size of a variable in Octave ?

If you want the size in bytes use "whos"

> How can I find the highest and lowest possible values of real data type ?

>> realmin
ans =   2.2251e-308
>> realmax
ans =   1.7977e+308

> In C++, we have sizeof() function. Is there anything similar to that in
> Octave ?

"size" and "whos"

-- Andy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]