I recognized this, but wasn't aware it's that new. However, when one runs the linspace() in Matlab in this way, there is no need to set the upper-value to 3.2 but just 3 - which seems to be more natural to me - to obtain an evenly spaced vector from -3 to 3.

Artur



Am 16. Februar 2016 20:07:43 MEZ, schrieb "Riccardo (Jack) Lucchetti" <r.lucchetti@univpm.it>:
On Tue, 16 Feb 2016, Summers, Peter wrote:

Clive,

The arguments to seq() all have to be integers. Try replacing that line
with “matrix x = seq(-30,32,2)./10”


Yes, this is true. However, in the development version (which is what
Artur is using) we relaxed the "integer" constraint and the code he posted
is perfectly legal. That'll be part of grel 2016b.




Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)

Università Politecnica delle Marche
(formerly known as Università di Ancona)

r.lucchetti@univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti



Gretl-users mailing list
Gretl-users@lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.