Structures in Matlab
Lesson 9.1 Structures in Matlab
Lesson 9.2 A Vector of Structures
Answers to Selected Exercises
Project: The Fox and Rabbit Game
You have studied vectors and arrays in this book. You can use the vectors and arrays to save a collection of identical classes. For example, the vector x saves a collection of numbers with the double class, as shown below:
In this second example, the array Y saves a collection of numbers with the logical class.