Introduction to Matlab Programming with Applications

Location: Room 223A, 德田館
Time: 1900 ~ 2200


``All science is dominated by the idea of approximation.''
-- Bertrand Russell (1872-1970)

Goal

This short course is designed for the students who want to learn Matlab programming without any experiences before. The students will be introduced to Matlab features and syntaxes. Besides, the fundamentals of programming concepts are delivered with elegant algorithms. You are expected to be capable to implement programs with Matlab independently after this class. Moreover, I expect that you could feel more confident of learning more programming languages and dealing with advanced topics in the future.

Prerequisites

Text

References

Matlab

Linear algebra

Numerical methods and analysis

Data mining and machine learning

Artificial neural networks and deep learning

Optimization

Simulink

Interesting materials

Misc

Additional reading

WiFi

Overview

The major topics covered in the short course, if time permitting, are listed below for your reference.

Essentials

Applications

Schedule [ 236, 237, 238, 242, 244, 245, 247, 249, 251, 252, 253, 254, 256, 258, 260, 261, 262, 263, 264, 265, 266, 268, 272, 273, 275, 277, 279, 280, 281, 282, 283, 288, 289, 294, 295, 296 ]

Date Summary
2018.4.25 programs, cpu, memory, memory hierarchy, programming languages (machine code, assembly code, high-level language), computational solution, algorithms;
2018.4.28 variables, assignment operator (=), binary system, data types (integers/floating points), numerical errors, scalars, arrays, cells, structures, vectorization, element-by-element operators, rational operators (<, ==, >), logical operators (~, &, |);
2018.5.2 selections (&&, ||, if-elseif-else), selections (switch-case-otherwise), error and error handling (try-catch), for-each loops, while loops;
2018.5.5 jump statements (break, continue), nested loops, analysis of algorithms;
2018.5.9 performance analysis and speedup, functions, call stack, variable scope, primary/subfunction, anonymous functions, recursion; midterm exam;
2017.5.12 2D plots, 3D plots;
2018.5.16 gui design, file I/O (exercise), string and regular expressions;
2018.5.19 matrix computation, system of linear equations, Gauss elimination, 2D Laplace PDE boundary value problem by finite difference, least square error method, polynomials, polynomial fitting, overfitting issue;
2017.5.23 eigenvalue problems (see The World's Largest Eigenvalue Problem), singular value decomposition (see image compression by SVD, svd_image_compression.m, SVD applications), Simulink tutorial, symbolic programming, parallel computing, , optimization tutorial;
2017.5.26 PROJECT: Blurring and edge detection by using FFT (see Discrete Fourier Transform, imageProcessing_LowHighPass.m), final project demonstration; midterm feedback, final-term feedback;

Sample Code

Gradebook