help-octave
[Top][All Lists]
Advanced

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

Re: Octave for Windows package site


From: Doug Stewart
Subject: Re: Octave for Windows package site
Date: Sun, 12 Mar 2006 17:31:55 -0500
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Agustin Barto wrote:

Doug Stewart wrote:

I would like to thank you for your work.
with version octave-2.1.72-0-inst.exe
I had trouble with edit.m and notepad in windows XP.


In edit.m I had to:

...

I'll see what I can do.

One more observation

Using octave 2.1.42  (Andy Adler's) when I run a file ser25.m it takes

>> ser25
>> ts1
ans =  13.416
>>

but when I run Octave 2.1.72 (Agustin Barto's) and the same ser25.m file I get:
octave:7> ts1
ans = 33.665

ts1.m     is:
tic
ser25
toc

and ser25 is:

clear ;
clg;
count=0;
xx=-7:.01:7;
sum(length(xx))=0;
for n= 1: 1 : 90,
bn=(16/(n*pi)^2*cos(n*pi)  );
for x= -7:.01:7,
count=count+1;

sum(count)=sum(count)+bn*cos(n*x*pi/2);
end
count=0;
end

sum=sum+4/3;

plot(xx,sum)

Just wondering why the big differencs?
Doug




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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