author | Puneeth Chaganti <punchagan@fossee.in> |
Tue, 09 Nov 2010 17:15:49 +0530 | |
changeset 428 | 0385c3157fd1 |
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)|} |