Skip to content

MATLAB Tutorial

Daniel Dudt edited this page Sep 21, 2020 · 6 revisions

The script matlab_examples.m demonstrates how to perform common commands in MATLAB.
For additional options and usage on any function, type help <function> in the Command Window.
The full documentation of all MATLAB syntax and built-in functions is available at MathWorks.

The example script can be used as a template for making figures like this:

Breadboard

and for printing output like this:
Printing an integer: 6
Printing 8 decimal places:       6.28318531
Printing in scientific notation: 6.283185E+00
Printing as a string: 6.2832

Clone this wiki locally