Practical Knowledge Sharing: MATLAB Basics

Practical Knowledge Sharing: MATLAB Basics

The bright moon in my heart shines clearly, traveling thousands of miles. Rarely have leisure during the holidays. While enjoying the holiday, why not sit down quietly and unlock a new skill? Join the “Practical Knowledge” social practice team and open the door to MATLAB. Unveil the mysterious veil of mathematical modeling. Here is the … Read more

Comprehensive Guide to Matlab File Management Commands

Comprehensive Guide to Matlab File Management Commands

Matlab is a professional software for scientific computing and data analysis, widely used in various fields such as engineering, science, and finance. It helps users perform efficient data visualization, numerical calculations, simulation modeling, etc., providing a complete scientific computing experience. Today, I will introduce the file commands of this tool, hoping to assist everyone. 1. … Read more

MATLAB Preparatory Skills and Techniques: Vectors and Their Operations

MATLAB Preparatory Skills and Techniques: Vectors and Their Operations

MATLAB stands for Matrix Laboratory, which is an environment based on matrix operations. All data in MATLAB is stored in the form of matrices or multidimensional arrays. Vectors and scalars are two special forms of matrices. A vector refers to a matrix that is either a single row or a single column, and it is … Read more

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