Julia for MATLAB Users/Core Language/Language Fundamentals

Language FundamentalsEdit

This page maps MATLAB functionality documented in the Language Fundamentals section of the MATLAB documentation to equivalent Julia (core language and/or package) functionality.

Another helpful resource is the noteworthy differences from MATLAB section of the Julia documentation.

Entering CommandsEdit

Related: Julia REPL

ans Most recent answerEdit

Julia's ans is functionally basically identical, though note that it is available only at the REPL.

clc Clear Command WindowEdit

Ctrl+L is nearly equivalent in the Julia REPL, though it does not erase history; you can still scroll up to see the history of the session. You can also equivalently (on Linux/Mac) run the clear(1) command in shell mode, i.e. ;+clear.

save Command Window text to fileEdit

There doesn't appear to be an equivalent Julia REPL command.

format Set Command Window output display formatEdit

There is no drop-in equivalent in the Julia REPL or IJulia for globally setting the output format.

home Send cursor homeEdit

Ctrl+L is functionally equivalent in the Julia REPL.

iskeyword Determine whether input is MATLAB keywordEdit

There doesn't appear to be an equivalent Julia command, but see Keywords in the Julia manual.

more Control paged output for Command WindowEdit

Matrices and ArraysEdit

See Multi-dimensional Arrays in the Julia Manual.

zeros Create array of all zeros; ones Create array of all onesEdit

Julia's zeros and ones are functionally equivalent. Note that the syntax for specifying the data type of the result is different, e.g. Julia: zeros(Int64, 3, 3) vs. MATLAB zeros(3,3, 'int64').

rand Uniformly distributed random numbersEdit

See Julia's rand.

true Logical 1 (true); false Logical 0 (false)Edit
eye Identity matrixEdit

In Julia to construct a numeric identity matrix, use something like Matrix(1.0I, 3, 3). Note that the symbol I is special in Julia; rather than representing a matrix, it is an instance of the UniformScaling operator so that in principle its use can be more efficient than the naive use of a dense matrix that happens to have 1's on the diagonal and zeros elsewhere.

diag Create diagonal matrix or get diagonal elements of matrixEdit
blkdiag Construct block diagonal matrix from input argumentsEdit
cat Concatenate arrays along specified dimensionEdit
horzcat Concatenate arrays horizontallyEdit

See Julia's hcat function

vertcat Concatenate arrays verticallyEdit
repelem Repeat copies of array elementsEdit
repmat Repeat copies of arrayEdit
linspace Generate linearly spaced vectorEdit
logspace Generate logarithmically spaced vectorEdit
freqspace Frequency spacing for frequency responseEdit
meshgrid 2-D and 3-D gridsEdit
ndgrid Rectangular grid in N-D spaceEdit
length Length of largest array dimensionEdit

Julia has a length function, however it does not operate the same way as Matlab's for multidimensional arrays. To get equivalent behavior to Matlab's length(X), use maximum(size(X)) in Julia.

size Array sizeEdit
ndims Number of array dimensionsEdit

In Julia, ndims is similar but not identical. For instance, Julia does not ignore singleton dimensions.

numel Number of array elementsEdit

In Julia, length is equivalent.

isscalar Determine whether input is scalarEdit
isvector Determine whether input is vectorEdit
ismatrix Determine whether input is matrixEdit
isrow Determine whether input is row vectorEdit
iscolumn Determine whether input is column vectorEdit
isempty Determine whether array is emptyEdit
sort Sort array elementsEdit
sortrows Sort rows of matrix or tableEdit
issorted Determine if array is sortedEdit
issortedrows Determine if matrix or table rows are sortedEdit
topkrows Top rows in sorted orderEdit
flip Flip order of elementsEdit
fliplr Flip array left to rightEdit
flipud Flip array up to downEdit
rot90 Rotate array 90 degreesEdit
transpose Transpose vector or matrixEdit
ctranspose Complex conjugate transposeEdit
permute Rearrange dimensions of N-D arrayEdit
ipermute Inverse permute dimensions of N-D arrayEdit
circshift Shift array circularlyEdit
shiftdim Shift dimensionsEdit
reshape Reshape arrayEdit
squeeze Remove singleton dimensionsEdit

Julia's dropdims function is similar though it requires the singleton dimension(s) to be specified explicitly.

colon Vector creation, array subscripting, and for-loop iterationEdit
end Terminate block of code, or indicate last array indexEdit

Julia's end is basically equivalent.

ind2sub Subscripts from linear indexEdit
sub2ind Convert subscripts to linear indicesEdit

Operators and Elementary OperationsEdit

See Mathematical Operations and Elementary Functions in the Julia manual.

ArithmeticEdit

plus AdditionEdit
uplus Unary plusEdit
minus SubtractionEdit
uminus Unary minusEdit
times Element-wise multiplicationEdit
rdivide Right array divisionEdit
ldivide Left array divisionEdit
power Element-wise powerEdit
mtimes Matrix MultiplicationEdit
mrdivide Solve systems of linear equations xA = B for xEdit
mldivide Solve systems of linear equations Ax = B for xEdit
mpower Matrix powerEdit
cumprod Cumulative productEdit
cumsum Cumulative sumEdit
diff Differences and Approximate DerivativesEdit
movsum Moving sumEdit
prod Product of array elementsEdit
sum Sum of array elementsEdit
ceil Round toward positive infinityEdit
fix Round toward zeroEdit
floor Round toward negative infinityEdit
idivide Integer division with rounding optionEdit
mod Remainder after division (modulo operation)Edit
rem Remainder after divisionEdit
round Round to nearest decimal or integerEdit
bsxfun Apply element-wise operation to two arrays with implicit expansion enabledEdit

Relational OperationsEdit

eq Determine equalityEdit
ge Determine greater than or equal toEdit
gt Determine greater thanEdit
le Determine less than or equal toEdit
lt Determine less thanEdit
ne Determine inequalityEdit
isequal Determine array equalityEdit
isequaln Determine array equality, treating NaN values as equalEdit

Logical OperationsEdit

Logical Operators: Short-circuit Logical operations with short-circuitingEdit

and Find logical ANDEdit
not Find logical NOTEdit
or Find logical OREdit
xor Find logical exclusive-OREdit
all Determine if all array elements are nonzero or trueEdit
any Determine if any array elements are nonzeroEdit
false Logical 0 (false)Edit
find Find indices and values of nonzero elementsEdit

In Julia, findall provides similar functionality. See also findfirst, findlast, findnext and findprev.

islogical Determine if input is logical arrayEdit
logical Convert numeric values to logicalsEdit
true Logical 1 (true)Edit

Set OperationsEdit

intersect Set intersection of two arraysEdit

ismember Array elements that are members of set arrayEdit

ismembertol Members of set within toleranceEdit

issorted Determine if array is sortedEdit

setdiff Set difference of two arraysEdit

setxor Set exclusive OR of two arraysEdit

union Set union of two arraysEdit

unique Unique values in arrayEdit

uniquetol Unique values within toleranceEdit

join Combine two tables or timetables by rows using key variablesEdit

innerjoin Inner join between two tables or timetablesEdit

outerjoin Outer join between two tables or timetablesEdit

Bit-Wise OperationsEdit

bitand Bit-wise ANDEdit

bitcmp Bit-wise complementEdit

bitget Get bit at specified positionEdit

bitor Bit-wise OREdit

bitset Set bit at specific locationEdit

bitshift Shift bits specified number of placesEdit

bitxor Bit-wise XOREdit

swapbytes Swap byte orderingEdit

Data TypesEdit

See Types in the Julia manual.

Numeric TypesEdit

double Double-precision arraysEdit

single Single-precision arraysEdit

int8 8-bit signed integer arraysEdit

int16 16-bit signed integer arraysEdit

int32 32-bit signed integer arraysEdit

int64 64-bit signed integer arraysEdit

uint8 8-bit unsigned integer arraysEdit

uint16 16-bit unsigned integer arraysEdit

uint32 32-bit unsigned integer arraysEdit

uint64 64-bit unsigned integer arraysEdit

cast Cast variable to different data typeEdit

typecast Convert data types without changing underlying dataEdit

isinteger Determine if input is integer arrayEdit

isfloat Determine if input is floating-point arrayEdit

isnumeric Determine if input is numeric arrayEdit

isreal Determine whether array is realEdit

isfinite Array elements that are finiteEdit

isinf Array elements that are infiniteEdit

isnan Array elements that are NaNEdit

eps Floating-point relative accuracyEdit

flintmax Largest consecutive integer in floating-point formatEdit

Inf InfinityEdit

intmax Largest value of specified integer typeEdit

intmin Smallest value of specified integer typeEdit

NaN Not-a-NumberEdit

realmax Largest positive floating-point numberEdit

realmin Smallest positive normalized floating-point numberEdit

Characters and StringsEdit

string String arrayEdit

strings Create array of strings with no charactersEdit

join Combine stringsEdit

char Character arrayEdit

cellstr Convert to cell array of character vectorsEdit

blanks Create character array of blanksEdit

newline Create newline characterEdit

compose Convert data into formatted string arrayEdit

sprintf Format data into stringEdit

strcat Concatenate strings horizontallyEdit

cOnverTcHarstostrings Convert character arrays to string arrays, leaving other arrays unalteredEdit

cOnvertsTrIngstoChars Convert string arrays to character arrays, leaving other arrays unalteredEdit

ischar Determine if input is character arrayEdit

iscellstr Determine if input is cell array of character vectorsEdit

isstring Determine if input is string arrayEdit

isStringScalar Determine if input is string array with one elementEdit

strlength Length of strings in string arrayEdit

isstrprop Determine if string is of specified categoryEdit

isletter Determine which characters are lettersEdit

isspace Determine which characters are space charactersEdit

contains Determine if pattern is in stringEdit

count Count occurrences of pattern in stringEdit

endsWith Determine if string ends with patternEdit

StartsWith Determine if string starts with patternEdit

strfind Find one string within anotherEdit

sscanf Read formatted data from stringEdit

replace Find and replace substrings in string arrayEdit

rEplacebetween Replace substrings identified by indicators that mark their starts and endsEdit

strrep Find and replace substringEdit

join Combine stringsEdit

split Split strings in string arrayEdit

splitlines Split string at newline charactersEdit

strjoin Join text in arrayEdit

strsplit Split string at specified delimiterEdit

strtok Selected parts of stringEdit

erase Delete substrings within stringsEdit

erasebetween Delete substrings between indicators that mark starts and ends of substringsEdit

eXtractAfter Extract substring after specified positionEdit

eXtractBefore Extract substring before specified positionEdit

eXtractbetween Extract substrings between indicators that mark starts and ends of substringsEdit

InsertAfter Insert string after specified substringEdit

InsertBefore Insert string before specified substringEdit

pad Add leading or trailing characters to stringsEdit

strip Remove leading and trailing characters from stringEdit

lower Convert string to lowercaseEdit

upper Convert string to uppercaseEdit

reverse Reverse order of characters in stringEdit

deblank Remove trailing whitespace from end of string or character arrayEdit

strtrim Remove leading and trailing whitespace from string array or character arrayEdit

strjust Justify string or character arrayEdit

strcmp Compare stringsEdit

strcmpi Compare strings (case insensitive)Edit

strncmp Compare first n characters of strings (case sensitive)Edit

strncmpi Compare first n characters of strings (case insensitive)Edit

regexp Match regular expression (case sensitive)Edit

regexpi Match regular expression (case insensitive)Edit

regexprep Replace text using regular expressionEdit

regexptranslate Translate text into regular expressionEdit

Dates and TimeEdit

datetime Arrays that represent points in timeEdit

NaT Not-a-TimeEdit

years Duration in yearsEdit

days Duration in daysEdit

hours Duration in hoursEdit

minutes Duration in minutesEdit

seconds Duration in secondsEdit

milliseconds Duration in millisecondsEdit

duration Lengths of time in fixed-length unitsEdit

calyears Calendar duration in yearsEdit

calquarters Calendar duration in quartersEdit

calmonths Calendar duration in monthsEdit

calweeks Calendar duration in weeksEdit

caldays Calendar duration in daysEdit

caLendarduration Lengths of time in variable-length calendar unitsEdit

year Year numberEdit

quarter Quarter numberEdit

month Month number and nameEdit

week Week numberEdit

day Day number or nameEdit

hour Hour numberEdit

minute Minute numberEdit

second Second numberEdit

ymd Year, month, and day numbers of datetimeEdit

hms Hour, minute, and second numbers of durationEdit

split Split calendar duration into numeric and duration unitsEdit

time Convert time of calendar duration to durationEdit

timeofday Elapsed time since midnight for datetimesEdit

isdatetime Determine if input is datetime arrayEdit

isduration Determine if input is duration arrayEdit

iscalendarduration Determine if input is calendar duration arrayEdit

isnat Determine NaT (Not-a-Time) elementsEdit

isdst Determine daylight saving time elementsEdit

isweekend Determine weekend elementsEdit

timezones List time zonesEdit

tzoffset Time zone offset from UTCEdit

between Calendar math differencesEdit

caldiff Calendar math successive differencesEdit

dateshift Shift date or generate sequence of dates and timeEdit

isbetween Determine elements within date and time intervalEdit

datenum Convert date and time to serial date numberEdit

datevec Convert date and time to vector of componentsEdit

exceltime Convert MATLAB datetime to Excel date numberEdit

juliandate Convert MATLAB datetime to Julian dateEdit

posixtime Convert MATLAB datetime to POSIX timeEdit

yyyymmdd Convert MATLAB datetime to YYYYMMDD numeric valueEdit

addtodate Modify date number by fieldEdit

char Character arrayEdit

string String arrayEdit

datestr Convert date and time to string formatEdit

now Current date and time as serial date numberEdit

clock Current date and time as date vectorEdit

date Current date stringEdit

calendar Calendar for specified monthEdit

eomday Last day of monthEdit

weekday Day of weekEdit

etime Time elapsed between date vectorsEdit

Categorical ArraysEdit

categorical Array that contains values assigned to categoriesEdit

iscategorical Determine whether input is categorical arrayEdit

discretize Group data into bins or categoriesEdit

categories Categories of categorical arrayEdit

iscategory Test for categorical array categoriesEdit

isordinal Determine whether input is ordinal categorical arrayEdit

isprotected Determine whether categories of categorical array are protectedEdit

addcats Add categories to categorical arrayEdit

mergecats Merge categories in categorical arrayEdit

removecats Remove categories from categorical arrayEdit

renamecats Rename categories in categorical arrayEdit

reordercats Reorder categories in categorical arrayEdit

setcats Set categories in categorical arrayEdit

summary Print summary of table, timetable, or categorical arrayEdit

countcats Count occurrences of categorical array elements by categoryEdit

isundefined Find undefined elements in categorical arrayEdit

TablesEdit

table Table array with named variables that can contain different typesEdit

array2table Convert homogeneous array to tableEdit

cell2table Convert cell array to tableEdit

struct2table Convert structure array to tableEdit

table2array Convert table to homogeneous arrayEdit

table2cell Convert table to cell arrayEdit

table2struct Convert table to structure arrayEdit

table2timetable Convert table to timetableEdit

timetable2table Convert timetable to tableEdit

readtable Create table from fileEdit

writetable Write table to fileEdit

DetectImportoptions Create import options based on file contentEdit

getvaropts Get variable import optionsEdit

setvaropts Set variable import optionsEdit

setvartype Set variable data typesEdit

head Get top rows of table, timetable, or tall arrayEdit

tail Get bottom rows of table, timetable, or tall arrayEdit

summary Print summary of table, timetable, or categorical arrayEdit

height Number of table rowsEdit

width Number of table variablesEdit

istable Determine whether input is tableEdit

sortrows Sort rows of matrix or tableEdit

unique Unique values in arrayEdit

issortedrows Determine if matrix or table rows are sortedEdit

topkrows Top rows in sorted orderEdit

addvars Add variables to table or timetableEdit

movevars Move variables in table or timetableEdit

removevars Delete variables from table or timetableEdit

splitvars Split multicolumn variables in table or timetableEdit

mergevars Combine table or timetable variables into multicolumn variableEdit

vartype Subscript into table or timetable by variable typeEdit

rows2vars Reorient table or timetable so that rows become variablesEdit

stack Stack data from multiple variables into single variableEdit

unstack Unstack data from single variable into multiple variablesEdit

inner2outer Invert nested table-in-table hierarchy in tables or timetablesEdit

join Combine two tables or timetables by rows using key variablesEdit

innerjoin Inner join between two tables or timetablesEdit

outerjoin Outer join between two tables or timetablesEdit

union Set union of two arraysEdit

intersect Set intersection of two arraysEdit

ismember Array elements that are members of set arrayEdit

setdiff Set difference of two arraysEdit

setxor Set exclusive OR of two arraysEdit

ismissing Find missing valuesEdit

standArdizemissing Insert standard missing valuesEdit

rmmissing Remove missing entriesEdit

fillmissing Fill missing valuesEdit

varfun Apply function to table or timetable variablesEdit

rowfun Apply function to table or timetable rowsEdit

findgroups Find groups and return group numbersEdit

splitapply Split data into groups and apply functionEdit

groupsummary Group summary computationsEdit

TimetablesEdit

timetable Timetable array with time-stamped rows and variables of different typesEdit

retime resample or aggregate data in timetable, and resolve duplicate or irregular timesEdit

synchronize synchronize timetables to common time vector, and resample or aggregate data from input timetablesEdit

lag Time-shift data in timetableEdit

table2timetable Convert table to timetableEdit

array2timetable Convert homogeneous array to timetableEdit

timetable2table Convert timetable to tableEdit

istimetable Determine if input is timetableEdit

isregular Determine whether times in timetable are regularEdit

timerange Time range for timetable row subscriptingEdit

withtol Time tolerance for timetable row subscriptingEdit

vartype Subscript into table or timetable by variable typeEdit

rmmissing Remove missing entriesEdit

issorted Determine if array is sortedEdit

sortrows Sort rows of matrix or tableEdit

unique Unique values in arrayEdit

StructuresEdit

struct Structure arrayEdit

fieldnames Field names of structure, or public fields of COM or Java objectEdit

getfield Field of structure arrayEdit

isfield Determine whether input is structure array fieldEdit

isstruct Determine whether input is structure arrayEdit

orderfields Order fields of structure arrayEdit

rmfield Remove fields from structureEdit

setfield Assign values to structure array fieldEdit

arrayfun Apply function to each element of arrayEdit

structfun Apply function to each field of scalar structureEdit

table2struct Convert table to structure arrayEdit

struct2table Convert structure array to tableEdit

cell2struct Convert cell array to structure arrayEdit

struct2cell Convert structure to cell arrayEdit

Cell ArraysEdit

cell Cell arrayEdit

cell2mat Convert cell array to ordinary array of the underlying data typeEdit

cell2struct Convert cell array to structure arrayEdit

cell2table Convert cell array to tableEdit

celldisp Display cell array contentsEdit

cellfun Apply function to each cell in cell arrayEdit

cellplot Graphically display structure of cell arrayEdit

cellstr Convert to cell array of character vectorsEdit

iscell Determine whether input is cell arrayEdit

iscellstr Determine if input is cell array of character vectorsEdit

mat2cell Convert array to cell array with potentially different sized cellsEdit

num2cell Convert array to cell array with consistently sized cellsEdit

strjoin Join text in arrayEdit

strsplit Split string at specified delimiterEdit

struct2cell Convert structure to cell arrayEdit

table2cell Convert table to cell arrayEdit

Function HandlesEdit

feval Evaluate functionEdit

func2str Construct character vector from function handleEdit

str2func Construct function handle from character vectorEdit

localfunctions Function handles to all local functions in MATLAB fileEdit

functions Information about function handleEdit

Map ContainersEdit

containers.Map Object that maps values to unique keysEdit

isKey Determine if Map object contains keyEdit

keys Return keys of Map objectEdit

remove Delete key-value pairs from Map objectEdit

values Return values of Map objectEdit

Time SeriesEdit

Time Series ObjectsEdit

timeseries Create timeseries objectEdit
addevent Add event to timeseriesEdit
addsample Add data sample to timeseries objectEdit
append Concatenate timeseries objects in timeEdit
delevent Remove event from timeseriesEdit
delsample Remove sample from timeseries objectEdit
detrend Subtract mean or best-fit line from timeseries objectEdit
filter Modify frequency content of timeseries objectsEdit
idealfilter timeseries ideal filterEdit
plot Plot timeseriesEdit
resample Resample timeseries time vectorEdit
set Set timeseries propertiesEdit
setabstime Set timeseries times as date character vectorsEdit
setinterpfunction Set default interpolation method for timeseries objectEdit
setuniformtime Modify uniform timeseries time vectorEdit
synchronize Synchronize and resample two timeseries objects using common time vectorEdit
get Query timeseries propertiesEdit
getabstime Convert timeseries time vector to cell arrayEdit
getdatasamples Access timeseries data samplesEdit
getdatasamplesize timeseries data sample sizeEdit
getinterpmethod timeseries interpolation methodEdit
getqualitydesc timeseries data qualityEdit
getsamples Subset of timeseriesEdit
getsampleusingtime Subset of timeseries dataEdit
gettsafteratevent Create timeseries at or after eventEdit
gettsafterevent Create timeseries after eventEdit
gettsatevent Create timeseries at eventEdit
gettsbeforeatevent Create timeseries at or before eventEdit
gettsbeforeevent Create timeseries before eventEdit
gettsbetweenevents Create timeseries between eventsEdit
iqr Interquartile range of timeseries dataEdit
max Maximum of timeseries dataEdit
mean Mean of timeseries dataEdit
median Median of timeseries dataEdit
min Minimum of timeseries dataEdit
std Standard deviation of timeseries dataEdit
sum Sum of timeseries dataEdit
var Variance of timeseries dataEdit

Time Series CollectionsEdit

tscollection Create tscollection objectEdit
addsampletocollection Add sample to tscollectionEdit
addts Add timeseries to tscollectionEdit
delsamplefromcollection Delete sample from tscollectionEdit
horzcat Horizontally concatenate tscollection objectsEdit
removets Remove timeseries from tscollectionEdit
resample Resample tscollection time vectorEdit
set Set tscollection propertiesEdit
setabstime Set tscollection times as date character vectorsEdit
settimeseriesnames Rename timeseries in tscollectionEdit
vertcat Vertically concatenate tscollection objectsEdit
get Query tscollection propertiesEdit
getabstime Convert tscollection time vector to cell arrayEdit
getsampleusingtime Subset of tscollection dataEdit
gettimeseriesnames Names of timeseries in tscollectionEdit
isempty Determine if tscollection is emptyEdit
length Length of tscollection time vectorEdit
size Size of tscollectionEdit

Time Series EventsEdit

tsdata.event Create tsdata.event objectEdit
findEvent Query tsdata.event by nameEdit
get Query tsdata.event propertiesEdit
gEttimeStr Query tsdata.event timesEdit
set Set tsdata.event propertiesEdit

Data Type IdentificationEdit

iscalendarduration Determine if input is calendar duration arrayEdit

iscategorical Determine whether input is categorical arrayEdit

iscell Determine whether input is cell arrayEdit

iscellstr Determine if input is cell array of character vectorsEdit

ischar Determine if input is character arrayEdit

isdatetime Determine if input is datetime arrayEdit

isduration Determine if input is duration arrayEdit

isenum Determine if variable is enumerationEdit

isfloat Determine if input is floating-point arrayEdit

isgraphics True for valid graphics object handlesEdit

isinteger Determine if input is integer arrayEdit

isjava Determine if input is Java objectEdit

islogical Determine if input is logical arrayEdit

isnumeric Determine if input is numeric arrayEdit

isobject Determine if input is MATLAB objectEdit

isreal Determine whether array is realEdit

isstring Determine if input is string arrayEdit

isstruct Determine whether input is structure arrayEdit

istable Determine whether input is tableEdit

istimetable Determine if input is timetableEdit

is Detect stateEdit

isa Determine if input is object of specified classEdit

class Determine class of objectEdit

validateattributes Check validity of arrayEdit

whos List variables in workspace, with sizes and typesEdit

Data Type ConversionEdit

char Character arrayEdit

cellstr Convert to cell array of character vectorsEdit

int2str Convert integers to charactersEdit

mat2str Convert matrix to charactersEdit

num2str Convert numbers to character arrayEdit

str2double Convert string to double precision valueEdit

str2num Convert character array to numeric arrayEdit

native2unicode Convert numeric bytes to Unicode character representationEdit

unicode2native Convert Unicode character representation to numeric bytesEdit

base2dec Convert text representing number in base N to decimal numberEdit

bin2dec Convert text representation of binary number to decimal numberEdit

dec2base Convert decimal number to character vector representing base N numberEdit

dec2bin Convert decimal number to character vector representing binary numberEdit

dec2hex Convert decimal number to character vector representing hexadecimal numberEdit

hex2dec Convert text representation of hexadecimal number to decimal numberEdit

hex2num Convert IEEE hexadecimal string to double-precision numberEdit

num2hex Convert singles and doubles to IEEE hexadecimal stringsEdit

table2array Convert table to homogeneous arrayEdit

table2cell Convert table to cell arrayEdit

table2struct Convert table to structure arrayEdit

array2table Convert homogeneous array to tableEdit

cell2table Convert cell array to tableEdit

struct2table Convert structure array to tableEdit

cell2mat Convert cell array to ordinary array of the underlying data typeEdit

cell2struct Convert cell array to structure arrayEdit

mat2cell Convert array to cell array with potentially different sized cellsEdit

num2cell Convert array to cell array with consistently sized cellsEdit

struct2cell Convert structure to cell arrayEdit