help-octave
[Top][All Lists]
Advanced

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

Re: integer part and triples test for symmetry


From: Ben Abbott
Subject: Re: integer part and triples test for symmetry
Date: Wed, 26 Mar 2008 20:17:46 -0400


On Mar 26, 2008, at 8:00 PM, george brida wrote:
Dear friends,
I am new user of Octave. I have two question:
1) is there any code in Octave or Matlab that performs the integer part (symbol [x], i.e the greatest in teger smaller than x). I know that in matlab there are built-in functions that compute the nearst integer like int8,int16 and int64: we have int64(9.7)=10 but I would like obtain [9.7]=9 and int64(-9.2)=-9 but [-9.2]=-10.

        ceil(x)

for the lesser integer, use floor(x)

2) is there any cod that computes the triples test for symmetry.
Thank you in advance for your help and cordially.

Personally, I do not know what you refer to. Can give us a link to a definition?

Ben



reply via email to

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