MindMap Gallery Chapter 6 MATLAB Data Structure
Chapter 6: MATLAB data structure mind map, which organizes the knowledge points of multi-dimensional arrays, structures, cells, and strings. Come and take a look!
Edited at 2023-05-09 17:38:20One Hundred Years of Solitude is the masterpiece of Gabriel Garcia Marquez. Reading this book begins with making sense of the characters' relationships, which are centered on the Buendía family and tells the story of the family's prosperity and decline, internal relationships and political struggles, self-mixing and rebirth over the course of a hundred years.
One Hundred Years of Solitude is the masterpiece of Gabriel Garcia Marquez. Reading this book begins with making sense of the characters' relationships, which are centered on the Buendía family and tells the story of the family's prosperity and decline, internal relationships and political struggles, self-mixing and rebirth over the course of a hundred years.
Project management is the process of applying specialized knowledge, skills, tools, and methods to project activities so that the project can achieve or exceed the set needs and expectations within the constraints of limited resources. This diagram provides a comprehensive overview of the 8 components of the project management process and can be used as a generic template for direct application.
One Hundred Years of Solitude is the masterpiece of Gabriel Garcia Marquez. Reading this book begins with making sense of the characters' relationships, which are centered on the Buendía family and tells the story of the family's prosperity and decline, internal relationships and political struggles, self-mixing and rebirth over the course of a hundred years.
One Hundred Years of Solitude is the masterpiece of Gabriel Garcia Marquez. Reading this book begins with making sense of the characters' relationships, which are centered on the Buendía family and tells the story of the family's prosperity and decline, internal relationships and political struggles, self-mixing and rebirth over the course of a hundred years.
Project management is the process of applying specialized knowledge, skills, tools, and methods to project activities so that the project can achieve or exceed the set needs and expectations within the constraints of limited resources. This diagram provides a comprehensive overview of the 8 components of the project management process and can be used as a generic template for direct application.
Chapter 6 MATLAB Data Structure
Multidimensional Arrays
Two-dimensional array
First dimension: row
Second dimension: columns
Third dimension: page
How to build
Create multidimensional arrays using subscripts
Use MATLAB functions to generate multidimensional arrays
Use the cat function to create a multidimensional array
Users write M files themselves to generate multi-dimensional arrays
Multidimensional array conversion
Directly add or delete elements in multi-dimensional arrays, change multi-dimensional array dimensions or change the amount of data in each dimension
Use the reshape function to change the size of each dimension of the multidimensional array and the number of dimensions of the multidimensional array.
Structure
Structure construction and assignment
Use struct function
Use assignment statements
Structure usage
Nesting of structures
cell
cell array
functional method
direct assignment method
cell array access
Braces to access content
Parentheses access cells
cell array display
celldisp() specific content
cellplot() graphic display
string
direct assignment method
String type data occupies 2 bytes of storage space for every two characters.
General processing functions
char(): Create a character array
double(): double precision value
Judgment function
ischar():
iscellstr()
isletter()
isspace
Join and compare functions
strcat() connection
strvcat() vertical connection
strcmp() comparison function
strcmpi() comparison function
strncmp() compares whether the first n characters of two strings are the same styrcmpi()
search and replace
findstr() finds short subcharacter in long
strjust() adjusts character array
strmatch() finds matching string
strrep() string search and replacement
strtok() finds the capital of a string
Conversion function between string and data
eval() evaluates a MATLAB expression represented as a string
num2str() converts numerical values into strings
int2str() converts an integer into a string
str2num() converts characters into numeric values