Download presentation
Presentation is loading. Please wait.
1
Appendix B MathScript Basics
2
Figure B.1 Accessing the MathScript Interactive Window from (a) the Getting Started window, or (b) the Tools pull-down menu on the front panel or block diagram.
3
Figure B.2 The basic components of the MathScript Interactive Window.
4
Figure B.3 Clearing the Command History and the Output Window.
5
Figure B.4 Showing the data type in various formats.
6
Figure B.5 (a) Entering the time, computing y - cos(t) and viewing the variable y in numerical form. (b) Viewing the variable y in graphical form.
7
Figure B.6 Obtaining a plot of the cosine function using the plot command.
9
Figure B.7 Accessing the help for MathScript classes, members, and functions.
13
Figure B.8 Loading and saving functions.
14
Figure B.9 Editing, saving, and running a script to compute the average of two arrays element-wise.
15
Figure B. 10 Saving data files
Figure B.10 Saving data files. (a) Saving all the variables in the workspace. (b) Saving select variables.
16
Figure B.11 Loading data from a previous MathScript session.
17
Figure B.12 (a) Saving a script using the File»Save Script As pull-down menu. (b) Saving a script using the Save Script As button on the MathScript Interactive Window.
18
Figure B.13 (a) Loading a script using the File»Load Script pull-down menu. (b) Loading a script using the Load Script button on the MathScript Interactive Window.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.