The above are just a sample - MATLAB has lots of built-in functions. Log(x) base e logarithm of x (normally written ln) trigonometric, exponential): sin(x) sine of x (in radians) MATLAB has all of the basic arithmetic operations built in: + additionĪs well as many more complicated functions (e.g. "Scientific notation" is expressed with "10^" replaced by "e" - that is, 10^7 is written 1e7 and 2.15x10^-3 is written 2.15e-3. Type 3+2Ĭan also do more complicated operations, like taking exponents: for "3 squared" type 3^2 3^2įor "two to the fourth power" type 2^4 2^4 Arithmetic Operations and FunctionsĪt its simplest, we can use MATLAB as a calculator. Everything you need for EOS 225 should be included in the following tutorials. You can work through these at your leisure, if you want. Lots of MATLAB demos are available online at The following tutorials are intended to give you an introduction to scientific computing in MATLAB. MATLAB is a programming language that is very useful for numerical simulation and data analysis.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |