28.12.2012 Views

Figure Properties - SERC

Figure Properties - SERC

Figure Properties - SERC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

isstrprop<br />

2isstrprop<br />

Purpose Determine if string is of specified category<br />

Syntax tf = isstrprop('str', 'category')<br />

Description tf = isstrprop('str', 'category') returns a logical array the same size as<br />

str containing logical true (1) where the elements of str belong to the specified<br />

category, and logical false (0) where they do not.<br />

2-1272<br />

The str input can be a character array, cell array, or any MATLAB numeric<br />

type. If str is a cell array, then the return value is a cell array of the same<br />

shape as str.<br />

The category input can be any of the strings shown in the left column below:<br />

Category Description<br />

alpha True for those elements of str that are alphabetic<br />

alphanum True for those elements of str that are alphanumeric<br />

cntrl True for those elements of str that are control characters<br />

(for example, char(0:20))<br />

digit True for those elements of str that are numeric digits<br />

graphic True for those elements of str that are graphic characters.<br />

These are all values that represent any characters<br />

except for the following:<br />

unassigned, space, line separator,<br />

paragraph separator, control characters,<br />

Unicode format control characters,<br />

private user-defined characters,<br />

Unicode surrogate characters,<br />

Unicode other characters<br />

lower True for those elements of str that are lowercase letters<br />

print True for those elements of str that are graphic characters,<br />

plus char(32)<br />

punct True for those elements of str that are punctuation<br />

characters

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!