| author | Amit Sethi |
| Tue, 09 Nov 2010 01:31:55 +0530 | |
| changeset 407 | abfd357603c2 |
| parent 351 | 054117c9dd59 |
| permissions | -rw-r--r-- |
|
351
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
1 |
Creating a linear array:\\ |
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
2 |
{\ex \lstinline| x = linspace(0, 2*pi, 50)|}
|
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
3 |
|
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
4 |
Plotting two variables:\\ |
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
5 |
{\ex \lstinline| plot(x, sin(x))|}
|
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
6 |
|
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
7 |
Plotting two lists of equal length x, y:\\ |
|
054117c9dd59
changed the name of symbolics to getting started with symbolics
amit
parents:
diff
changeset
|
8 |
{\ex \lstinline| plot(x, y)|}
|