Operators in MATLAB

Operators in MATLAB

Operators MATLAB has two different types of operators. Matrix operations are defined by the rules of linear algebra, while array operations can be performed element-wise and can be used for multidimensional arrays. The dot (.) character is used to distinguish array operations from matrix operations. For example, A*B represents traditional matrix multiplication, while A.*B represents … Read more

Understanding M-Files in MATLAB

Understanding M-Files in MATLAB

M-Files M-Files in MATLAB can be simple source files that execute a series of MATLAB statements or functions that receive inputs from variables and produce one or more outputs. This article focuses on M-File functions. These functions extend the capabilities of MATLAB and IPT to access specific user-defined applications. M-Files are created using a text … Read more

How to Elegantly Use Matlab for Machine Learning?

How to Elegantly Use Matlab for Machine Learning?

Author|Liao Fan Chun Qiu Source|Zhihu When it comes to machine learning, everyone thinks of Python. Indeed, Python offers a wealth of machine learning libraries, such as sklearn, pytorch, tensorflow, etc. Many C++ libraries also provide Python interfaces, like dlib, which makes it very convenient to use. Although Matlab is not as open as Python, it … Read more

Introduction to MATLAB Basics

Introduction to MATLAB Basics

MATLAB has many uses, but the most basic, and the first thing to master when starting out, is the use of the MATLAB Command Window. The MATLAB Command Window is one of the main tools for entering data, running MATLAB functions and scripts, and displaying results. By default, the MATLAB Command Window is located in … Read more

What Is The Amazing Software Matlab Banned At HIT?

What Is The Amazing Software Matlab Banned At HIT?

Last year, the ban on Matlab at Harbin Institute of Technology and Harbin Engineering University sparked heated discussions among engineering students (Breaking: Harbin Institute of Technology and Harbin Engineering University banned Matlab software). So what exactly is this amazing software Matlab? How does it benefit us, the materials science professionals? MATLAB is an engineering application … Read more

MATLAB Mathematical Modeling: Summary of Plotting Techniques

MATLAB Mathematical Modeling: Summary of Plotting Techniques

1. Two-Dimensional Data Curve Plotting 1.1 Basic Function for Drawing 2D Curves The plot() function is used to draw linear coordinate curves on a two-dimensional plane. It requires a set of x coordinates and corresponding y coordinates to plot a 2D curve with x and y as the horizontal and vertical axes, respectively. Example: t=0:0.1:2*pi; … Read more

Introduction to MATLAB: Part 2

Introduction to MATLAB: Part 2

Part Two Lecture Introduction ❂ Command Line Editing ❂ Introductory Demonstration ❂ Help ❂ Simple Matrix Input ❂ Statements and Variables ❂ Data Structures: Vectors, Matrices, Struct Arrays, and Cell Arrays ❂ Mathematical Operations and Functions ❂ Plotting Commands Statements and Variables ① There are two common forms of MATLAB statementsi) Expression ii) variable = … Read more

Introduction to MATLAB

Introduction to MATLAB

MATLAB (Matrix Laboratory) is a commercial mathematical software developed by The MathWorks, Inc. in the United States. MATLAB is a high-level technical computing language and interactive environment for algorithm development, data visualization, data analysis, and numerical computation. In addition to common functions such as matrix operations and plotting functions/data images, MATLAB can also be used … Read more

Summary After 10 Years of Using Matlab: Key Points to Master

Summary After 10 Years of Using Matlab: Key Points to Master

Reading Directory 1. Introduction 2. Brief Introduction to Matlab 3. Introduction to Matlab Development Environment 4. Common Commands 5. Matrix Operations That Must Be Mentioned 6. Programming Syntax 7. My Thoughts on Matlab I can’t remember the last time I wrote more than 20 lines of Matlab code; it was probably in 2013 when I … Read more

Introduction to MATLAB: Basic Knowledge

Introduction to MATLAB: Basic Knowledge

1. Understanding MATLAB 1. Overview of MATLAB (1) In universities in Europe and America, MATLAB has become a fundamental teaching tool for courses such as linear algebra, automatic control theory, digital signal processing, time series analysis, dynamic system simulation, and image processing. It has become a basic skill that undergraduate, master’s, and doctoral students must … Read more