author | bhanu |
Fri, 12 Nov 2010 00:36:35 +0530 | |
changeset 490 | 2280bbdce638 |
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)|} |