author | anand |
Mon, 08 Nov 2010 01:36:47 +0530 | |
changeset 455 | f5b7d0b693d9 |
parent 313 | b9b7bfce773e |
child 436 | e62bc810999c |
permissions | -rw-r--r-- |
313
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
1 |
Creating a linear array:\\ |
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
2 |
{\ex \lstinline| x = linspace(0, 2*pi, 50)|} |
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
3 |
|
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
4 |
Plotting two variables:\\ |
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
5 |
{\ex \lstinline| plot(x, sin(x))|} |
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
6 |
|
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
7 |
Plotting two lists of equal length x, y:\\ |
b9b7bfce773e
Getting started with strings LO - script and questions.
Puneeth Chaganti <punchagan@fossee.in>
parents:
diff
changeset
|
8 |
{\ex \lstinline| plot(x, y)|} |