getting-started-files/quickref.tex
author Puneeth Chaganti <punchagan@fossee.in>
Mon, 11 Oct 2010 01:01:16 +0530
changeset 279 5c9dc3419df5
parent 217 b595f90016c5
child 285 7c4855fb8e5f
permissions -rw-r--r--
Slides for lstsq LO.

Creating a linear array:\\
{\ex \lstinline|    x = linspace(0, 2*pi, 50)|}

Plotting two variables:\\
{\ex \lstinline|    plot(x, sin(x))|}

Plotting two lists of equal length x, y:\\
{\ex \lstinline|    plot(x, y)|}