This course is designed for those who wish to learn MATLAB. The course will introduce you to the MATLAB programming environment while also teaching you to write code efficiently.
Prerequisites: Fundamental knowledge of programming (especially C) will be helpful to understand the lectures. Not mandatory.
How to Proceed: The lectures proceed with a problem-solving approach. Detailed discussions on different topics have been provided in the manuals. Some lecture videos are also available explaining the contents. Try to solve the exercise problems and weekly assignments. This will solidify your programming skills. Once you complete all the weekly assignments, try out the quizzes.
Course Outline
Week - 01
Familiarization with the MATLAB programming environment - MATLAB interface
Introduction to Simulink
Introduction to Live Script
Variables, Numeric types
Numeric Array, Array manipulation
Indexing
Week - 02
Introduction to MATLAB Data Structures
Strings, Character array
Cell array
Logical array
Logical Operators
Boolean Masking
Week - 03
Conditionals: If-else, Switch-case
Loops: For, While, nested loops
Break, continue statement
Week - 04
Problem solving using MATLAB
Matrix multiplication
Built-in functions in MATLAB
Understanding MATLAB Documentation
Week - 05
Function structure
User-defined function
Character array handling
NaN value handling
Week - 06
Variable-length user-defined functions
Varargin, Varargout, Nargin
Practice problems (solved)
Week - 07
Vectorization
Pre-allocation
Polymorphism
Broadcasting
Anonymous functions
Multi-dimensional arrays
Measuring Code Execution Time in MATLAB
Week - 08
Data handling
How to import/export data (image, Excel, docx, mat files) into MATLAB
How to analyze data using MATLAB
'Table' data structure of MATLAB
Categorical data type
Week - 09
Introduction to Algorithms
Searching algorithms – linear search, binary search, jump search
Introduction to plotting
Scatter plot, line plot, histogram plot, bar plot, geoscatter plot
Sub-plots
Polyshape object
Week - 10
Greedy algorithm
Dynamic programming
Week - 11
Introduction to MATLAB LiveScript
Introduction to MATLAB GUI
Introduction to MATLAB Simulink
Quiz
Practice Quiz - 01
Practice Quiz - 02
Practice Quiz - 03
Once you are confident about your programming skills, try solving more problems in Cody. It will help you hone your skills.
Try to solve the problems by yourself first. If you cannot, only then look at the solutions given. This will improve your skills and critical thinking.