vs()
Attaches an independent to dependent data
Syntax
y = vs(dependent, independent, indepName)
Arguments
| Name | Description | Range | Type | Required |
|---|---|---|---|---|
| dependent | dependent values | (-∞, ∞) | integer, real | yes |
| independent | independent values | (-∞, ∞) | integer, real, string, complex | yes |
| indepName | independent name | string | no |
Examples
a = [1, 2, 3]
b = [4, 5, 6]
c = vs(a, b)
builds c with independent b, and dependent a
Defined in
Built in
See Also
Notes/Equations
Use the plot_vs() function to plot the dependent with the order of independent changed. For example, to plot Ids vs Vgs, in a DC analysis data with two independent variables, Vgs and Vds, and a dependent variable Ids.i, use as below:
plot_vs(Ids.i, Vgs)
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()