Data_Creataion_with_a_Data_List

From OriginLab Wiki

(Difference between revisions)(Link to this page as [[LabTalk:Data Creataion with a Data List]])
Jump to: navigation, search
Revision as of 06:07, 10 February 2009 (edit)
Hjt (Talk | contribs)
(<FONT color=chocolate>Examples:</font>)
← Previous diff
Revision as of 03:34, 20 May 2009 (edit) (undo)
Echo (Talk | contribs)

Next diff →
Line 10: Line 10:
==<FONT color=chocolate>Examples:</font>== ==<FONT color=chocolate>Examples:</font>==
-In the following example, the first six elements in column A are assigned the corresponding ???function??? values. If column A had more than six elements, only the first six elements would be changed.+In the following example, the first six elements in column A are assigned the corresponding 'function' values. If column A had more than six elements, only the first six elements would be changed.
<lt> <lt>

Revision as of 03:34, 20 May 2009

The {v1, v2, ...vn} 'function' returns a range that consists of the specified values. Note that v1, v2,...vn are literal values, meaning the actual values are entered.

Function Form:

{v1, v2, ...vn}
{v1:vn}
{v1:vstep:vn}


Examples:

In the following example, the first six elements in column A are assigned the corresponding 'function' values. If column A had more than six elements, only the first six elements would be changed.

col(A)={1, 2, 4, 5, 12, 13};