help-octave
[Top][All Lists]
Advanced

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

Re: octave and matlab producing different results for following code


From: bharat pathak
Subject: Re: octave and matlab producing different results for following code
Date: Tue, 4 Nov 2008 12:47:07 +0530

hello jaroslav,

        I think it was more of human error from my side.
       now I have put the same code in .m file and ran
       on both platforms. yielding to same result.

       my apologies.

rgds
bharat

--------------------------------------------------
From: "Jaroslav Hajek" <address@hidden>
Sent: Saturday, November 01, 2008 11:20 AM
To: "bharat pathak" <address@hidden>
Cc: <address@hidden>
Subject: Re: octave and matlab producing different results for following code

On Sat, Nov 1, 2008 at 4:03 AM, bharat pathak <address@hidden> wrote:
k          = linspace(0, 2*pi, 100);

[kk, kk] = meshgrid(k, k);

y          = sin(kk) .* cos(kk);

surf( y );

%----------------------------------------------- running octave 3.0.1 on
vista
%------------------------------------------------ running matlab 7.1 on
vista


Different in what sense?

--
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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