Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

Data Analysis

Basic OperationsSums, products, sorting
Descriptive StatisticsStatistical summaries of data
Filtering and ConvolutionData preprocessing
Interpolation and RegressionData fitting
Fourier TransformsFrequency content of data
Derivatives and IntegralsData rates and accumulations
Time Series ObjectsMethods for timeseries objects
Time Series CollectionsMethods for tscollection objects

Basic Operations

brushInteractively mark, delete, modify, and save observations in graphs
cumprodCumulative product
cumsumCumulative sum
linkdataAutomatically update graphs when variables change
prodProduct of array elements
sortSort array elements in ascending or descending order
sortrowsSort rows in ascending order
sumSum of array elements

Descriptive Statistics

corrcoefCorrelation coefficients
covCovariance matrix
maxLargest elements in array
meanAverage or mean value of array
medianMedian value of array
minSmallest elements in array
modeMost frequent values in array
stdStandard deviation
varVariance

Filtering and Convolution

convConvolution and polynomial multiplication
conv22-D convolution
convnN-D convolution
deconvDeconvolution and polynomial division
detrendRemove linear trends
filter1-D digital filter
filter22-D digital filter

Interpolation and Regression

interp11-D data interpolation (table lookup)
interp22-D data interpolation (table lookup)
interp33-D data interpolation (table lookup)
interpnN-D data interpolation (table lookup)
mldivide \, mrdivide /Left or right matrix division
polyfitPolynomial curve fitting
polyvalPolynomial evaluation

Fourier Transforms

absAbsolute value and complex magnitude
anglePhase angle
cplxpairSort complex numbers into complex conjugate pairs
fftDiscrete Fourier transform
fft22-D discrete Fourier transform
fftnN-D discrete Fourier transform
fftshiftShift zero-frequency component to center of spectrum
fftwInterface to FFTW library run-time algorithm tuning control
ifftInverse discrete Fourier transform
ifft22-D inverse discrete Fourier transform
ifftnN-D inverse discrete Fourier transform
ifftshiftInverse FFT shift
nextpow2Next higher power of 2
unwrapCorrect phase angles to produce smoother phase plots

Derivatives and Integrals

cumtrapzCumulative trapezoidal numerical integration
del2Discrete Laplacian
diffDifferences and approximate derivatives
gradientNumerical gradient
polyderPolynomial derivative
polyintIntegrate polynomial analytically
trapzTrapezoidal numerical integration

Time Series Objects

UtilitiesCombine timeseries objects, query and set timeseries object properties, plot timeseries objects
Data ManipulationAdd or delete data, manipulate timeseries objects
Event DataAdd or delete events, create new timeseries objects based on event data
Descriptive StatisticsDescriptive statistics for timeseries objects

Utilities

append (timeseries)Concatenate time series objects in time dimension
get (timeseries)Query timeseries object property values
getdatasamples (timeseries)Returns subset of timeseries samples using subscripted index array
getdatasamplesize (timeseries)Size of data sample in timeseries object
getqualitydesc (timeseries)Data quality descriptions
getsamples (timeseries)Returns subset of timeseries samples using subscripted index array
isempty (timeseries)Determine whether array is empty
length (timeseries)Length of vector or largest array dimension
plot (timeseries)Plot time series
set (timeseries)Set properties of timeseries object
size (timeseries)Array dimensions
timeseriesCreate timeseries object
tsdata.eventConstruct event object for timeseries object
tstoolOpen Time Series Tools GUI

Data Manipulation

addsample (timeseries)Add data sample to timeseries object
ctranspose (timeseries)Transpose timeseries object
delsample (timeseries)Remove sample from timeseries object
detrend (timeseries)Subtract mean or best-fit line and all NaNs from timeseries object
filter (timeseries)Shape frequency content of time series
getabstime (timeseries)Extract date-string time vector into cell array
getinterpmethod (timeseries)Interpolation method for timeseries object
getsampleusingtime (timeseries)Extract data samples into new timeseries object
idealfilter (timeseries)Apply ideal (noncausal) filter to timeseries object
resample (timeseries)Select or interpolate timeseries data using new time vector
setabstime (timeseries)Set times of timeseries object as date strings
setinterpmethod (timeseries)Set default interpolation method for timeseries object
synchronize (timeseries)Synchronize and resample two timeseries objects using common time vector
transpose (timeseries)Transpose timeseries object
vertcat (timeseries)Concatenate arrays vertically

Event Data

addeventAdd event to timeseries object
deleventRemove tsdata.event objects from timeseries object
gettsafterateventNew timeseries object with samples occurring at or after event
gettsaftereventNew timeseries object with samples occurring after event
gettsateventNew timeseries object with samples occurring at event
gettsbeforeateventNew timeseries object with samples occurring before or at event
gettsbeforeeventNew timeseries object with samples occurring before event
gettsbetweeneventsNew timeseries object with samples occurring between events

Descriptive Statistics

iqr (timeseries)Returns interquartile range of timeseries data
max (timeseries)Maximum value of timeseries data
mean (timeseries)Mean value of timeseries data
median (timeseries)Median value of timeseries data
min (timeseries) Minimum value of timeseries data
std (timeseries)Standard deviation of timeseries data
sum (timeseries)Sum of timeseries data
var (timeseries)Variance of timeseries data

Time Series Collections

UtilitiesQuery and set tscollection object properties, plot tscollection objects
Data ManipulationAdd or delete data, manipulate tscollection objects

Utilities

get (tscollection)Query tscollection object property values
isempty (tscollection)Determine whether tscollection object is empty
length (tscollection)Length of time vector
plot (timeseries)Plot time series
set (tscollection)Set properties of tscollection object
size (tscollection)Size of tscollection object
tscollectionCreate tscollection object
tstoolOpen Time Series Tools GUI

Data Manipulation

addsampletocollectionAdd sample to tscollection object
addtsAdd timeseries object to tscollection object
delsamplefromcollectionRemove sample from tscollection object
getabstime (tscollection)Extract date-string time vector into cell array
getsampleusingtime (tscollection)Extract data samples into new tscollection object
gettimeseriesnamesCell array of names of timeseries objects in tscollection object
horzcat (tscollection)Horizontal concatenation for tscollection objects
removetsRemove timeseries objects from tscollection object
resample (tscollection)Select or interpolate data in tscollection using new time vector
setabstime (tscollection)Set times of tscollection object as date strings
settimeseriesnamesChange name of timeseries object in tscollection
vertcat (tscollection)Vertical concatenation for tscollection objects
  


» Learn more
» Download free kit
» Get trial software

 © 1984-2010- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS