
Explore MATLAB's one-based indexing and column-wise data access, contrasting it with zero-based C/C++ indexing, and see how a three-by-three matrix's elements are arranged and accessed.
Use MATLAB to build a magic matrix and apply logical indexing to find elements that exceed four, then compute their mean with mean(A(A>4)).
Use MATLAB ismember to test if elements of one matrix appear in another, producing a logical array; then use find to locate the indices of common elements, including row-wise checks.
Discover how MATLAB setdiff compares arrays to show elements in one array not in another, with row options, sorting behavior, non-repeating results, and mention of intersect and ismember.
Explore how MATLAB structures organize data with labeled fields, create multi-field entries, and access information using dot notation and indexing, illustrated by a student records example.
Learn to calculate limits in Matlab with symbolic expressions, defining x and the point of interest, using sin(x)/x as x approaches 0 and exploring infinity and left/right limits.
Explore Matlab loops with for and while exercises that handle alternating signs and exponents, and build a function with two outputs: number of terms and the resulting sum until 10000.
Explore Matlab coding with loops: implement for and while loops to compute sums of odd numbers, powers, and alternating sign sequences, rename variables, and compare results with built-in functions.
Compare using a for loop versus a while loop to calculate Fibonacci numbers in a Matlab script, emphasizing initialization, index handling, and increment rules.
Demonstrates calculating and drawing the Lorenz curve from a sorted income vector in MATLAB, using absolute, cumulative, and relative frequencies to visualize income distribution and inequality.
Introduce Fourier transformation and show how signals become sums of sine and cosine in the frequency domain, with Matlab, then return via the inverse transform.
Apply Newton's method to locate real roots of a function from an initial guess, iterating x_new = x_old - f(x)/f'(x), and implement with MATLAB function handles and symbolic differentiation.
Modify a MATLAB Newton's method to use a user-defined tolerance with a while loop, running until the absolute error falls below the tolerance, and compare iterations.
This is an upper-intermediate Matlab course for engineering and STEM-students, scientist and professionals in these areas. Its’ main goal is to help you become more confident with scientific coding / programming using Matlab and thus, mire efficient and competitive, as Matlab has become one of the most important programming environments in science. This Matlab course consists of short on-point videos with easy to follow explanations. You will also find examples with solutions presented for each topic.
This course was created to help you broaden your Matlab knowledge. The following topics will be covered including examples with detailed explanations:
- advanced matrix operations in Matlab (e.g. sorting matrices, resizing matrices, concatenating matrices, finding intersections between matrices etc.)
- creating and handling cell arrays in Matlab
- creating and handling structure arrays in Matlab
- for and while loops: differences,when it’s better to use which loop
- difference between functions and scripts in Matlab
- Taylor series expansion with Matlab
- Fourier transformations with Matlab
- calculating limits
- calculating cumulative sums
- calculating variances etc.
This course will help you to gain and improve your skills in solving challenging mathematical problems in differ ways with the help of Matlab. At the same time you will get to know new useful functions, revise the known functions and get more confident with the syntax in Matlab.