Skip to Main Content Skip to Search
Product Documentation

Functions — Alphabetical List


A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  

abs2activeConvert constraints from absolute to active format
AbstractPortfolioAbstract portfolio object for portfolio optimization and analysis
accrfracFraction of coupon period before settlement
acrubondAccrued interest of security with periodic interest payments
acrudiscAccrued interest of discount security paying at maturity
active2absConvert constraints from active to absolute format
addEquality
    Portfolio methodAdd linear equality constraints for portfolio weights to existing constraints
addGroupRatio
    Portfolio methodAdd group ratio constraints for portfolio weights to existing group ratio constraints
addGroups
    Portfolio methodAdd group constraints for portfolio weights to existing group constraints
addInequality
    Portfolio methodAdd linear inequality constraints for portfolio weights to existing constraints
adlineAccumulation/Distribution line
adoscAccumulation/Distribution oscillator
amortizeAmortization schedule
annuratePeriodic interest rate of annuity
annutermNumber of periods to obtain value
arith2geomArithmetic to geometric moments of asset returns
ascii2ftsCreate financial time series object from ASCII data file
bar, barhBar chart
bar3, bar3h3-D bar chart
beytbillBond equivalent yield for Treasury bill
binpriceBinomial put and call pricing
blkimpvImplied volatility for futures options from Black's model
blkpriceBlack's model for pricing futures options
blsdeltaBlack-Scholes sensitivity to underlying price change
blsgammaBlack-Scholes sensitivity to underlying delta change
blsimpvBlack-Scholes implied volatility
blslambdaBlack-Scholes elasticity
blspriceBlack-Scholes put and call option pricing
blsrhoBlack-Scholes sensitivity to interest rate change
blsthetaBlack-Scholes sensitivity to time-until-maturity change
blsvegaBlack-Scholes sensitivity to underlying price volatility
bndconvpBond convexity given price
bndconvyBond convexity given yield
bnddurpBond duration given price
bndduryBond duration given yield
bndkrdurBond key rate duration given zero curve
bndpricePrice fixed income security from yield to maturity
bndspreadStatic spread over spot curve
bndyieldYield to maturity for fixed income security
bollingBollinger band chart
bollingerTime series Bollinger band
boxcoxBox-Cox transformation
busdateNext or previous business day
busdaysBusiness days in serial date format
candleCandlestick chart
candle (fts)Time series candle plot
cfamountsCash flow and time mapping for bond portfolio
cfconvCash flow convexity
cfdatesCash flow dates for fixed-income security
cfdurCash-flow duration and modified duration
cfportPortfolio form of cash flow amounts
cfpriceCompute price for cash flow given yield to maturity
cfspreadCompute spread over yield curve for cash flow
cftimesTime factors corresponding to bond cash flow dates
cfyieldCompute yield to maturity for cash flow given price
chaikoscChaikin oscillator
chaikvolatChaikin volatility
chartftsInteractive display
checkFeasibility
    Portfolio methodCheck feasibility of input portfolios against a portfolio object
chfieldChange data series name
convert2surConvert multivariate normal regression model to seemingly unrelated regression (SUR) model
converttoConvert to specified frequency
corr2covConvert standard deviation and correlation to covariance
corrcoefCorrelation coefficients
covCovariance matrix
cov2corrConvert covariance to standard deviation and correlation coefficient
cpncountCoupon payments remaining until maturity
cpndatenNext coupon date for fixed-income security
cpndatenqNext quasi coupon date for fixed income security
cpndatepPrevious coupon date for fixed-income security
cpndatepqPrevious quasi coupon date for fixed income security
cpndaysnNumber of days to next coupon date
cpndayspNumber of days since previous coupon date
cpnperszNumber of days in coupon period
createholidaysCreate trading calendars
cumsumCumulative sum
cur2fracDecimal currency values to fractional values
cur2strBank-formatted text
date2timeTime and frequency from dates
dateaxisConvert serial-date axis labels to calendar-date axis labels
datedispDisplay date entries
datefindIndices of date numbers in matrix
datemnthDate of day in future or past month
datenumCreate date number
datestrCreate date string
datevecDate components
datewrkdyDate of future or past workday
dayDay of month
days252busNumber of business days between dates
days360Days between dates based on 360-day year
days360eDays between dates based on 360-day year (European)
days360isdaDays between dates based on 360-day year (International Swap Dealer Association (ISDA) compliant)
days360psaDays between dates based on 360-day year (Public Securities Association (PSA) compliant)
days365Days between dates based on 365-day year
daysactActual number of days between dates
daysaddDate away from starting date for any day-count basis
daysdifDays between dates for any day-count basis
dec2thirtytwoDecimal to thirty-second quotation
depfixdbFixed declining-balance depreciation schedule
depgendbGeneral declining-balance depreciation schedule
deprdvRemaining depreciable value
depsoydSum of years' digits depreciation
depstlnStraight-line depreciation schedule
diffDifferencing
disc2zeroZero curve given discount curve
discrateBank discount rate of money market security
ecmlsrmleLeast-squares regression with missing data
ecmlsrobjLog-likelihood function for least-squares regression with missing data
ecmmvnrfishFisher information matrix for multivariate normal regression model
ecmmvnrmleMultivariate normal regression with missing data
ecmmvnrobjLog-likelihood function for multivariate normal regression with missing data
ecmmvnrstdEvaluate standard errors for multivariate normal regression model
ecmnfishFisher information matrix
ecmnhessHessian of negative log-likelihood function
ecmninitInitial mean and covariance
ecmnmleMean and covariance of incomplete multivariate normal data
ecmnobjMultivariate normal negative log-likelihood function
ecmnstdStandard errors for mean and covariance of incomplete data
effrrEffective rate of return
elpmCompute expected lower partial moments for normal asset returns
emaxdrawdownCompute expected maximum drawdown for Brownian motion
endLast date entry
eomdateLast date of month
eomdayLast day of month
eq (fts)Multiple financial times series object equality
estimateAssetMoments
    Portfolio methodEstimate mean and covariance of asset returns from data
estimateBounds
    Portfolio methodEstimate global lower and upper bounds for set of portfolios
estimateFrontier
    Portfolio methodEstimate specified number of optimal portfolios over entire efficient frontier
estimateFrontierByReturn
    Portfolio methodEstimate optimal portfolios with targeted portfolio returns
estimateFrontierByRisk
    Portfolio methodEstimate optimal portfolios with targeted portfolio risks
estimateFrontierLimits
    Portfolio methodEstimate optimal portfolios at endpoints of efficient frontier
estimateMaxSharpeRatio
    Portfolio methodEstimate efficient portfolio to maximize Sharpe ratio
estimatePortMoments
    Portfolio methodEstimate moments of portfolio returns
estimatePortReturn
    Portfolio methodEstimate mean of portfolio returns (portfolio return)
estimatePortRisk
    Portfolio methodEstimate standard deviation of portfolio returns (portfolio risk)
ewstatsExpected return and covariance from return time series
expExponential values
extfieldData series extraction
fbusdateFirst business date of month
fetchData from financial time series object
fieldnamesGet names of fields
filltsFill missing values in time series
filterLinear filtering
fintsConstruct financial time series object
fpctkdFast stochastics
frac2curFractional currency value to decimal value
freqnumConvert string frequency indicator to numeric frequency indicator
freqstrConvert numeric frequency indicator to string representation
frontconMean-variance efficient frontier
frontierRolling efficient frontier
fts2asciiWrite elements of time-series data into ASCII file
fts2matConvert to matrix
ftsboundStart and end dates
ftsguiFinancial time series GUI
ftsinfoFinancial time series object information
ftstoolFinancial time series tool
ftsuniqDetermine uniqueness
fvdiscFuture value of discounted security
fvfixFuture value with fixed periodic payments
fvvarFuture value of varying cash flow
fwd2zeroZero curve given forward curve
geom2arithGeometric to arithmetic moments of asset returns
getAssetMoments
    Portfolio methodObtain mean and covariance of asset returns from portfolio object
getBounds
    Portfolio methodObtain bounds for portfolio weights from portfolio object
getBudget
    Portfolio methodObtain budget constraint bounds from portfolio object
getCosts
    Portfolio methodObtain buy and sell transaction costs from portfolio object
getEquality
    Portfolio methodObtain equality constraint arrays from portfolio object
getfieldContent of specific field
getGroupRatio
    Portfolio methodObtain group ratio constraint arrays from portfolio object
getGroups
    Portfolio methodObtain group constraint arrays from portfolio object
getInequality
    Portfolio methodObtain inequality constraint arrays from portfolio object
getnameidxFind name in list
getOneWayTurnover
    Portfolio methodObtain one-way turnover constraints from portfolio object
hhighHighest high
highlowHigh, low, open, close chart
highlow (fts)Time series High-Low plot
histHistogram
holdings2weightsPortfolio holdings into weights
holidaysHolidays and nontrading days
horzcatConcatenate financial time series objects horizontally
hourHour of date or time
inforatioCalculate information ratio for one or more assets
irrInternal rate of return
isbusdayTrue for dates that are business days
iscompatibleStructural equality
isempty True for empty financial time series objects
isequalMultiple object equality
isfieldCheck whether string is field name
issortedCheck whether dates and times are monotonically increasing
kagiKagi chart
lagtsLag time series object
lbusdateLast business date of month
leadtsLead time series object
lengthGet number of dates (rows)
linebreakLine break chart
llowLowest low
logNatural logarithm
log10Common logarithm
log2Base 2 logarithm
lpmCompute sample lower partial moments of data
lweekdateDate of last occurrence of weekday in month
m2xdateMATLAB serial date number to Excel serial date number
macdMoving Average Convergence/Divergence (MACD)
maxMaximum value
maxdrawdownCompute maximum drawdown for one or more price series
meanArithmetic average
medpriceMedian price
mergeMerge multiple financial time series objects
minMinimum value
minusFinancial time series subtraction
minuteMinute of date or time
mirrModified internal rate of return
monthMonth of date
monthsNumber of whole months between dates
movavgLeading and lagging moving averages chart
mrdivideFinancial time series matrix division
mtimesFinancial time series matrix multiplication
mvnrfishFisher information matrix for multivariate normal or least-squares regression
mvnrmleMultivariate normal regression (ignore missing data)
mvnrobjLog-likelihood function for multivariate normal regression without missing data
mvnrstdEvaluate standard errors for multivariate normal regression model
nancovCovariance ignoring NaNs
nanmaxMaximum ignoring NaNs
nanmeanMean ignoring NaNs
nanmedianMedian ignoring NaNs
nanminMinimum ignoring NaNs
nanstdStandard deviation ignoring NaNs
nansumSum ignoring NaNs
nanvarVariance ignoring NaNs
negvolidxNegative volume index
nomrrNominal rate of return
nowCurrent date and time
nweekdateDate of specific occurrence of weekday in month
nyseclosuresNew York Stock Exchange closures from 1885 to 2050
onbalvolOn-Balance Volume (OBV)
opprofitOption profit
payadvPeriodic payment given number of advance payments
payoddPayment of loan or annuity with odd first period
payperPeriodic payment of loan or annuity
payuniUniform payment equal to varying cash flow
pcalimsLinear inequalities for individual asset allocation
pcgcompLinear inequalities for asset group comparison constraints
pcglimsLinear inequalities for asset group minimum and maximum allocation
pcpvalLinear inequalities for fixing total portfolio value
peravgPeriodic average of FINTS object
periodicreturnsPeriodic total returns from total return prices
plotPlot data series
plotFrontier
    Portfolio methodPlot efficient frontier
plusFinancial time series addition
pointfigPoint and figure chart
portallocOptimal capital allocation to efficient frontier portfolios
portalphaCompute risk-adjusted alphas and returns for one or more assets
portconsPortfolio constraints
PortfolioPortfolio object for mean-variance portfolio optimization and analysis
portoptPortfolios on constrained efficient frontier
portrandRandomized portfolio risks, returns, and weights
portrorPortfolio expected rate of return
portsimMonte Carlo simulation of correlated asset returns
portstatsPortfolio expected return and risk
portvarVariance for portfolio of assets
portvriskPortfolio value at risk (VaR)
posvolidxPositive volume index
powerFinancial time series power
prbyzeroPrice bonds in portfolio by set of zero curves
prcrocPrice rate of change
prdiscPrice of discounted security
priceandvolPrice and volume chart
prmatPrice with interest at maturity
prtbillPrice of Treasury bill
pvfixPresent value with fixed periodic payments
pvtrendPrice and Volume Trend (PVT)
pvvarPresent value of varying cash flow
pyld2zeroZero curve given par yield curve
rdivideFinancial time series division
renkoRenko chart
resampletsDownsample data
ret2tickConvert return series to price series
ret2tick (fts)Convert return series to price series for time series object
rmfieldRemove data series
rsindexRelative Strength Index (RSI)
secondSeconds of date or time
selectreturnPortfolio configurations from 3-D efficient frontier
setAssetList
    Portfolio methodSet up list of identifiers for assets
setAssetMoments
    Portfolio method Set moments (mean and covariance) of asset returns
setBounds
    Portfolio methodSet up bounds for portfolio weights
setBudget
    Portfolio methodSet up budget constraints
setCosts
    Portfolio methodSet up proportional transaction costs
setDefaultConstraints
    Portfolio methodSet up portfolio constraints with nonnegative weights that must sum to 1
setEquality
    Portfolio methodSet up linear equality constraints for portfolio weights
setfieldSet content of specific field
setGroupRatio
    Portfolio methodSet up group ratio constraints for portfolio weights
setGroups
    Portfolio methodSet up group constraints for portfolio weights
setInequality
    Portfolio methodSet up linear inequality constraints for portfolio weights
setInitPort
    Portfolio methodSet up initial or current portfolio
setOneWayTurnover
    Portfolio methodSet up one-way portfolio turnover constraints
setOptions
    Portfolio methodSet hidden properties in portfolio object
setSolver
    Portfolio method Choose main solver and specify associated solver options for portfolio optimization
setTurnover
    Portfolio method Set up maximum portfolio turnover constraint
sharpeCompute Sharpe ratio for one or more assets
sizeNumber of dates and data series
smoothtsSmooth data
sortftsSort financial time series
spctkdSlow stochastics
stdStandard deviation
stochoscStochastic oscillator
subsasgnContent assignment
subsrefSubscripted reference
targetreturnPortfolio weight accuracy
taxedrrAfter-tax rate of return
tbl2bondTreasury bond parameters given Treasury bill parameters
thirdwednesdayFind third Wednesday of month
thirtytwo2decThirty-second quotation to decimal
tick2retConvert price series to return series
tick2ret (fts)Convert price series to return series for time series object
time2dateDates from time and frequency
timesFinancial time series multiplication
toannualConvert to annual
todailyConvert to daily
todayCurrent date
todecimalFractional to decimal conversion
tomonthlyConvert to monthly
toquarterlyConvert to quarterly
toquotedDecimal to fractional conversion
tosemiConvert to semiannual
totalreturnpriceTotal return price time series
toweeklyConvert to weekly
tr2bondsTerm-structure parameters given Treasury bond parameters
transprobEstimation of transition probabilities from credit ratings data
transprobbytotalsEstimate transition probabilities using totals structure input
transprobfromthresholdsConvert from credit quality thresholds to transition probabilities
transprobgrouptotals Aggregate credit ratings information into fewer rating categories
transprobprepPreprocess credit ratings data to estimate transition probabilities
transprobtothresholdsConvert from transition probabilities to credit quality thresholds
tsaccelAcceleration between times
tsmomMomentum between times
tsmovavgMoving average
typpriceTypical price
ugarchUnivariate GARCH(P,Q) parameter estimation with Gaussian innovations
ugarchllfLog-likelihood objective function of univariate GARCH(P,Q) processes with Gaussian innovations
ugarchpredForecast conditional variance of univariate GARCH(P,Q) processes
ugarchsimSimulate univariate GARCH(P,Q) process with Gaussian innovations
uicalendarGraphical calendar
uminusUnary minus of financial time series object
uplusUnary plus of financial time series object
varVariance
vertcatConcatenate financial time series objects vertically
volareaPrice and volume chart
volrocVolume rate of change
wcloseWeighted close
weekdayDay of week
weeknumWeek in a year
weights2holdingsPortfolio values and weights into holdings
willadWilliams Accumulation/Distribution line
willpctrWilliams %R
wrkdydifNumber of working days between dates
x2mdateExcel serial date number to MATLAB serial date number
xirrInternal rate of return for nonperiodic cash flow
yearYear of date
yeardaysNumber of days in year
yearfracFraction of year between dates
ylddiscYield of discounted security
yldmatYield with interest at maturity
yldtbillYield of Treasury bill
zbtpriceZero curve bootstrapping from coupon bond data given price
zbtyieldZero curve bootstrapping from coupon bond data given yield
zero2discDiscount curve given zero curve
zero2fwdForward curve given zero curve
zero2pyldPar yield curve given zero curve
  


Free Interactive Computational Finance CD

View demos and recorded presentations led by industry experts.

Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.

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