Am 21.06.2013 11:08, schrieb Artur Tarassow:
I'm not sure what the original reason was, and I can see both pro and> Hello,
>
> I just noticed that I cant use an arbitrary positive scalar as the third
> argument in the seq function.
> This does not work:
> matrix sq = seq(0.1,40.2,0.1)
>
> whereas this works:
> matrix sq = seq(0.1,40.2,1)
> sq
>
> Is there a reason for this limitation? For instance, Gauss' seqa
> function accepts any positive scalar.
>
contra arguments.
In any case it's quite easy to achieve what you want; let's call your
increment 1/x with x>1, then do:
seq(a*x,b*x)/x
In your example: seq(1,402)/10
-sven
_______________________________________________
Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users