help-octave
[Top][All Lists]
Advanced

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

octave and matlab producing different results for following code


From: bharat pathak
Subject: octave and matlab producing different results for following code
Date: Sat, 1 Nov 2008 08:33:13 +0530

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
 
 
 
 
 

reply via email to

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