Logo Search packages:      
Sourcecode: octave-multicore version File versions  Download package


function y = testfun(x)
%TESTFUN  Do something stupid that takes some time to compute.
%   Y = TESTFUN(X) does some computations and returns Y=X.^2 as output.
%           Markus Buehren
%           Last modified 13.11.2007

for k=1:200
      a = cond   (rand(20)); %#ok
      a = condest(rand(20)); %#ok
      a = rcond  (rand(20)); %#ok
y = x.^2;

Generated by  Doxygen 1.6.0   Back to index