O'Reilly logo

Matlab: A Practical Introduction to Programming and Problem Solving, 2nd Edition by Stormy Attaway

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 8

Data Structures: Cell Arrays and Structures

Contents

Key words

data structures

cell array

structures

fields

database

record

content indexing

cell indexing

comma-separated list

vector of structures

nested structure

Data structures are variables that store more than one value. For it to make sense to store more than one value in a variable, the values should somehow be logically related. There are many different kinds of data structures. We have already been working with one kind, arrays (e.g., vectors and matrices). An array is a data structure in which all of the values are logically related in that they are of the same type, and represent in some sense “the same thing.” So far, that has been true ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required