help-octave
[Top][All Lists]
Advanced

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

Re: How to print this function?


From: marco atzeri
Subject: Re: How to print this function?
Date: Tue, 22 May 2012 21:27:06 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

On 5/22/2012 8:26 PM, Sergei Steshenko wrote:


Though not related to your original question, 0.1 may be a periodic fraction in 
your _binary_ CPU, so you better write


t = 0.1 * [-10:1:10];


irrilevant in this case

octave:4> [-1:0.1:1;]-0.1*[-10:1:10;] <eps
ans =

 Columns 1 through 20:

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

 Column 21:

   1

regards
Marco



reply via email to

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