We start with a basic case involving only numeric parameters, and then make the computations more general by introducing symbolic parameters. In this article, we use capabilities of the Symbolic Math Toolbox to compute area moments for cross sections of elliptical tubes. For example, to generate a symbolic variable a and perform the addition just defined, first, a symbolic variable will be created by passing the string 'a' to the sym function: > a = sym ('a') > a+a. MATLAB has type called sym for symbolic variables and expressions, and these work with string. Although MATLAB is intended primarily for numeric computing, an optional toolbox uses the MuPAD symbolic engine allowing access to symbolic computing abilities. MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |