How do I turn off the listing of N before the graph output, In Scilab
there is a command "lines(0)" which will suppress this. This is the
script in question.
------------------------------------------
function [S] = walk(N);
clf;
t = (0:1:N);
S = [0; cumsum(2*(rand(N,1)>0.5)-1)];
M = max(abs(S))+1;
plot(t,S);
axis([0 N -M M]);
endfunction
-------------------------------------------
It works as expected but it also puts out a long listing of N in
response to walk(N).
Thank You
_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave