--> MatTV
MatTV is a series of short videos—from 3 to 9 minutes each—that cover specific Matlab language features and programming tools. In general the videos review and demonstrate Matlab language syntax. We will continually update and add videos, so this is a work-in-progress! The non-clickable names below are videos that are being revised. Stay tuned.
You need to sign in with a Cornell University "NetID" or as a guest. Create a guest account the first time only. For subsequent MatTV viewing simply sign in with your guest account name and password.
No. | Topic | Synopsis |
1. | The Matlab Desktop | How to use and manage the Matlab Desktop. |
2. | Script | How to write and run Matlab scripts. |
3. | Input, Output, Help | How to use input, how to produce formatted output using fprintf, and how to use the help facilities. |
4. | Conditional Statement | How to use the conditional statement, including elseif. The relational and logical operators, as well as "shortcircuiting," are discussed. |
5. | Nested ifs | How to "nest" conditional statements and how nesting relates to elseif. |
6. | Path | How to set the Matlab search path. |
7. | The for-Loop | How to design a for -loop. |
8. | The while-Loop | How to design a while -loop. |
9. | Troubleshooting Loops | Avoiding common mistakes with iteration. |
10. | Creating Arrays | How to create arrays of numbers. |
11. | Array Addressing | How to access subarrays. |
12. | Basic Mathematical Operations on Arrays | How to write simple expressions that perform a mathematical operation on all elements of a vector. |
13. | Script | How to write and run Matlab scripts that create simple graphics. |
14. | User-Defined Function | How to define and call your own functions. |
15. | Executing a Function | How a function executes and what happens in memory. |
16. | Figure Editor | How to edit or format a figure from the Figure Editor Window. |
17. | Debugging | How to use the Matlab debugging tools in the Editor Window. |
18. | Characters & Strings | How to work with strings as arrays of characters. How to "compute" with characters based on their ASCII values. |
19. | Cell Arrays | How to create and use cell arrays, focusing on their use with strings. |
20. | Structure | How to create a structure, a kind of "super variable" to collect values under named fields. |
21. | Structure Arrays | How to create and work with structure array. |
22. | Vectorized Logical Operations | How to create and use logical arrays. |