Course Outline
Part 1
A Brief Introduction to MATLAB
Objectives: Provide an overview of MATLAB's identity, components, and capabilities.
- Example: C vs. MATLAB
- MATLAB Product Overview
- MATLAB Application Fields
- What MATLAB can do for you?
- The Course Outline
Working with the MATLAB User Interface
Objective: Introduce the main features of the MATLAB integrated design environment and its user interfaces. Gain an overview of the course themes.
- MATLAB Interface
- Reading data from files
- Saving and loading variables
- Plotting data
- Customizing plots
- Calculating statistics and best-fit lines
- Exporting graphics for use in other applications
Variables and Expressions
Objective: Enter MATLAB commands, with an emphasis on creating and accessing data within variables.
- Entering commands
- Creating variables
- Getting help
- Accessing and modifying values in variables
- Creating character variables
Analysis and Visualization with Vectors
Objective: Perform mathematical and statistical calculations with vectors and create basic visualizations. Observe how MATLAB syntax enables calculations on entire datasets with a single command.
- Calculations with vectors
- Plotting vectors
- Basic plot options
- Annotating plots
Analysis and Visualization with Matrices
Objective: Use matrices as mathematical objects or as collections of (vector) data. Understand how to distinguish between these applications using appropriate MATLAB syntax.
- Size and dimensionality
- Calculations with matrices
- Statistics with matrix data
- Plotting multiple columns
- Reshaping and linear indexing
- Multidimensional arrays
Part 2
Automating Commands with Scripts
Objective: Consolidate MATLAB commands into scripts for easier reproduction and experimentation. As task complexity increases, entering long command sequences in the Command Window becomes impractical.
- A Modelling Example
- The Command History
- Creating script files
- Running scripts
- Comments and Code Cells
- Publishing scripts
Working with Data Files
Objective: Import data into MATLAB from formatted files. Due to the wide variety of data types and formats, emphasis is placed on working with cell arrays and date formats.
- Importing data
- Mixed data types
- Cell arrays
- Conversions among numerals, strings, and cells
- Exporting data
Multiple Vector Plots
Objective: Create more complex vector plots, such as multiple plots, and use color and string manipulation techniques to produce visually engaging data representations.
- Graphics structure
- Multiple figures, axes, and plots
- Plotting equations
- Using color
- Customizing plots
Logic and Flow Control
Objective: Use logical operations, variables, and indexing techniques to create flexible code that can make decisions and adapt to different scenarios. Explore programming constructs for repeating code sections and interacting with users.
- Logical operations and variables
- Logical indexing
- Programming constructs
- Flow control
- Loops
Matrix and Image Visualization
Objective: Visualize images and matrix data in two or three dimensions. Explore the differences between displaying images and visualizing matrix data using images.
- Scattered Interpolation using vector and matrix data
- 3-D matrix visualization
- 2-D matrix visualization
- Indexed images and colormaps
- True color images
Part 3
Data Analysis
Objectives: Perform common data analysis tasks in MATLAB, including developing and fitting theoretical models to real-world data. This naturally leads to one of MATLAB's most powerful features: solving linear systems of equations with a single command.
- Dealing with missing data
- Correlation
- Smoothing
- Spectral analysis and FFTs
- Solving linear systems of equations
Writing Functions
Objective: Increase automation by encapsulating modular tasks as user-defined functions. Understand how MATLAB resolves references to files and variables.
- Why functions?
- Creating functions
- Adding comments
- Calling subfunctions
- Workspaces
- Subfunctions
- Path and precedence
Data Types
Objective: Explore data types, focusing on the syntax for creating variables and accessing array elements, and discuss methods for converting among data types. Data types differ in the kind of data they may contain and the way the data is organized.
- MATLAB data types
- Integers
- Structures
- Converting types
File I/O
Objective: Explore the low-level data import and export functions in MATLAB that allow precise control over text and binary file I/O. These functions include textscan, which provides precise control of reading text files.
- Opening and closing files
- Reading and writing text files
- Reading and writing binary files
Please note that the actual course content may be subject to minor discrepancies from the outline above without prior notification.
Conclusion
Please note that the actual course content may be subject to minor discrepancies from the outline above without prior notification.
Objectives: Summarize what we have learned
- A summary of the course
- Other upcoming courses on MATLAB
Additionally, please note that the delivered course may be subject to a few minor discrepancies without prior notifications.
Requirements
- Fundamental undergraduate-level mathematical knowledge, including linear algebra, probability theory, statistics, and matrices
- Basic computer operation skills
- A foundational understanding of another high-level programming language (such as C, PASCAL, FORTRAN, or BASIC) is preferred but not required
Testimonials (2)
Concrete, hands-on exercises that were relevant to our core business. Having a trainer with a scientific background was a real asset because we could delve into deeper discussions, not just about programming but also about science and how to combine the two. The practical sessions in Jupyter Notebook format were interesting.
Victor - Vermon
Course - Python for Matlab Users
Machine Translated
His great availability, he responded as best he could to the various requests
Mamadou - ENS
Course - Basic MATLAB Programming
Machine Translated