author | Puneeth Chaganti <punchagan@fossee.in> |
Mon, 08 Nov 2010 11:39:07 +0530 | |
changeset 408 | 8f4c369a41f1 |
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)|} |