23.12.2012 Views

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

MATLAB Function Reference Volume 1: A - E - Bad Request

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

int8 Convert to signed 8-bit integer<br />

int16 Convert to signed 16-bit integer<br />

int32 Convert to signed 32-bit integer<br />

single Convert to single-precision<br />

uint8 Convert to unsigned 8-bit integer<br />

uint16 Convert to unsigned 16-bit integer<br />

uint32 Convert to unsigned 32-bit integer<br />

String to Numeric<br />

base2dec Convert base N number string to decimal number<br />

bin2dec Convert binary number string to decimal number<br />

hex2dec Convert hexadecimal number string to decimal number<br />

hex2num Convert hexadecimal number string to double number<br />

str2double Convert string to double-precision number<br />

str2num Convert string to number<br />

Numeric to String<br />

char Convert to character array (string)<br />

dec2base Convert decimal to base N number in string<br />

dec2bin Convert decimal to binary number in string<br />

dec2hex Convert decimal to hexadecimal number in string<br />

int2str Convert integer to string<br />

mat2str Convert a matrix to string<br />

num2str Convert number to string<br />

Other Conversions<br />

cell2struct Convert cell array to structure array<br />

datestr Convert serial date number to string<br />

func2str Convert function handle to function name string<br />

logical Convert numeric to logical array<br />

num2cell Convert a numeric array to cell array<br />

str2func Convert function name string to function handle<br />

struct2cell Convert structure to cell array<br />

Determine Data Type<br />

is* Detect state<br />

isa Detect object of given <strong>MATLAB</strong> class or Java class<br />

iscell Determine if item is cell array<br />

iscellstr Determine if item is cell array of strings<br />

ischar Determine if item is character array<br />

isfield Determine if item is character array<br />

Programming and Data Types<br />

1-25

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

Saved successfully!

Ooh no, something went wrong!