ECOR 1010 Lecture Notes - Lecture 18: Matlab

42 views3 pages

Document Summary

When creating variables, you contain them in the matlab workspace. You can type in clear ___ with a variable name in the blanks, to clear that variable from the matlab workspace. Likewise you can type in clear to clear all variables in the matlab workspace. It is a powerful, yet simple programming language. There are many more built-in functions in comparison to other commonly used languages. Saves you having to code on your own, lets you use pre-existing functions. In some cases, it can be slow however. Major function is that it is able to do matrix manipulations. Repeats a set of commands a specified number of times. Ie. for x would repeat the loop x times. Finish the loop with end on the same indentation level as the header of the loop. You can also create nested loops, where one is inside the other.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents