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:20Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
Avatar 3 centers on the Sully family, showcasing the internal rift caused by the sacrifice of their eldest son, and their alliance with other tribes on Pandora against the external conflict of the Ashbringers, who adhere to the philosophy of fire and are allied with humans. It explores the grand themes of family, faith, and survival.
This article discusses the Easter eggs and homages in Zootopia 2 that you may have discovered. The main content includes: character and archetype Easter eggs, cinematic universe crossover Easter eggs, animal ecology and behavior references, symbol and metaphor Easter eggs, social satire and brand allusions, and emotional storylines and sequel foreshadowing.
[Zootopia Character Relationship Chart] The idealistic rabbit police officer Judy and the cynical fox conman Nick form a charmingly contrasting duo, rising from street hustlers to become Zootopia police officers!
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