
5 Workspace, Search Path, and File Operations
• You can select the column on which to sort as well as reverse the sort order
of any column. Click a column heading to sort on that column. Click the
column heading a gain to reverse the sort order in that column. For example,
to sort on Name, click the column heading once. To change from ascending
to descending, click the heading again. You cannot sort by the Value
column in the Workspace browser. Alternatively, select View > Sort By
• You can edit variable values directly in the Workspace browser Value
column. To edit a value, select the row to change in the Value column and
type the new value.
This illustration shows the Works pace brow ser with all columns in view,
sorted by the Class column, as indicated by the triangle in that column
heading. Preferences are set to sho w statistical valu es only fo r arrays under
10,000 elements, so results for a, (1 x 20000), do not appear. The preference
for treatment of NaNs is set to include them in calculations, as s een for
n.
With the preference set to ignore NaNs, values other than
NaN would appear.
Function Alternative
Use who
to list the current workspace variables. Use whos to list the variables
and in
formation about their size an d class. For example:
>> who
5-4
Komentáře k této Příručce