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 7

String Manipulation

Contents

Key Terms

string

substring

control characters

white space characters

leading blanks

trailing blanks

vectors of characters

empty string

string concatenation

delimiter

token

A string in the MATLAB® software consists of any number of characters and is contained in single quotes. Actually, strings are vectors in which every element is a single character, which means that many of the vector operations and functions that we have already seen work with strings.

MATLAB also has many built-in functions that are specifically written to manipulate strings. In some cases, strings ...

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