Lecture 8: Matrix Manipulations | Exploring MATLAB

Ahmad Bazzi
Ahmad Bazzi
16.8 هزار بار بازدید - 5 سال پیش - Let's reach 100K subscribers 👉🏻
Let's reach 100K subscribers 👉🏻 https://www.seevid.ir/c/AhmadBazzi?...

In this lecture, you will learn everything you need to know in order to properly handle matrices and arrays. Starting from creating the most basic matrices, such as the zeros, ones, identity, random matrices. You will also learn how to handle logical matrices that are involved in logical/discrete mathematics. Furthermore, you will also grasp fast and easy techniques on how array/matrix concatenation, replication, permutation, and shifting is done. You will sort matrices based off certain criteria. Note that this lecture does not involve linear algebraic topics (such as eigenvalues, eigenvectors).  The lecture is kept as consistent and abstract as possible. The lecturer believes that linear algebra is a separate topic and should be taught in a very different manner. This lecture focuses on array/matrix manipulations and operations.

Here is the outline of the course:


00:00:00   Intro to Matrices
00:00:55   The "zeros" matrix
00:05:14   The “ones” matrix
00:08:26   The uniformly random matrix
00:09:58   The “randi” method
00:11:20   Generating random complex matrices
00:11:42   Seeding by "rng"
00:13:42   Logical variables and Boolean operators
00:13:42   Logical variables and Boolean operators
00:17:37   The “true” matrix
00:19:12   The “false” matrix
00:19:12   The “false” matrix
00:22:45   The "diag" operator
00:22:59   super-diagonal & sub-diagonal
00:24:30   The "block diagonal" operator
00:26:02   Concatenating arrays
00:27:09   The "cat" function
00:29:29   Creating a table
00:30:20   The "horzcat" and "vertcat"
00:31:19   Replicating Elements by "repelem"
00:31:45   Replicating Matrices by "repmat"
00:32:31   Generating linearly spaced vectors by "linspace"
00:34:10   Generating logarithmically spaced vectors by "logspace"
00:35:57   Creating a "meshgrid"
00:38:57   N-dimensional meshgrids by "ndgrid"
00:41:55   Interpolation by "interpn"
00:44:59   "length" of matrix
00:45:18   Getting matrix dimensions by "size"
00:46:53   Getting number of dimensions by "ndims"
00:47:29   Getting number of matrix elements by "numel"
00:48:15   Testing if variable "ismatrix"
00:48:42   Testing if variable "isvector"
00:48:47   Testing if variable "iscolumn" vector
00:48:52   Testing if variable "isrow" vector
00:48:55   Testing if variable "isempty" vector
00:49:11   Testing if variable "issorted"
00:49:39   "sort" your array/matrix
00:51:23   "sort" your "datetime" objects
00:55:14   Sorting rows of a matrix by "sortrows"
00:56:13   "flip" rows/columns upside down
00:57:53   flip from left to right by "fliplr"
00:58:13   flip from up to down by "flipud"
00:58:29   rotate your matrix by 90 degree using "rot90"
00:59:24   "transpose" your array/matrix
00:59:45   complex conjugate transpose by "ctranpose"
00:59:57   "reshape" your array
01:00:53   circularly shifting a vector by "circshift"
01:01:36   "permute" matrix dimensions


MATLAB is a multi paradigm programming environment that is tuned for iterative analysis and design processes with a programming language that expresses matrix and array mathematics, directly.

Get a free MATLAB Trial: https://goo.gl/ZHFb5u

MATLAB toolboxes are professionally developed, rigorously tested, and fully documented.

MATLAB apps let you see how different algorithms work with your data. Iterate until you’ve got the results you want, then automatically generate a MATLAB program to reproduce or automate your work.

Scale your analyses to run on clusters, GPUs, and clouds with only minor code changes. There’s no need to rewrite your code or learn big data programming and out-of-memory techniques.

MATLAB® is a programming platform designed specifically for engineers and scientists. The heart of MATLAB is the MATLAB language, a matrix-based language allowing the most natural expression of computational mathematics.

What can you do with MATLAB?

Using MATLAB, you can:

•Analyze, visualize and infer data
•Develop algorithms that are useful, practical, and efficient.
•Create models and applications

The language, apps, and built-in math functions enable you to quickly explore multiple approaches to arrive at a solution. MATLAB lets you take your ideas from research to production by deploying to enterprise applications and embedded devices, as well as integrating with Simulink® and Model-Based Design.

Who uses MATLAB?

Millions of engineers and scientists in industry and academia use MATLAB. You can use MATLAB for a range of applications, including deep learning and machine learning, signal processing and communications, image and video processing, control systems, test and measurement, computational finance, and computational biology.

keywords: gurobi matlab,cplex matlab,tensorflow matlab,matlab cost,comsol matlab,matlab to python,the mathworks,computer programming with matlab,matlab python,featool multiphysics,matlab and,matlab for mechanical engineers,labview matlab
5 سال پیش در تاریخ 1398/03/13 منتشر شده است.
16,878 بـار بازدید شده
... بیشتر