Refine by Content Type

Refine by Time Frame

image thumbnail

updated 23 hours ago

Data based modeling of nonlinear dynamic systems using System Identification Toolbox by Rajiv Singh

Perspectives on nonlinear identification using a throttle valve modeling example. (toolbox, system identification, narmax)

throttleODE(t, x, F, c, k, K, b, varargin)

throttledemo.m

dataprep.m

image thumbnail

updated 1 day ago

GIBBON: The Geometry and Image-Based Bioengineering add-On for MATLAB by Kevin Moerman

GIBBON: The Geometry and Image-Based Bioengineering add-On for MATLAB (bioengineering, finite element, meshing)

image thumbnail

updated 23 days ago

Natural Gas Storage Valuation by Ameya Deoras

Demos and files from the webinar (energy trading, energy risk, commodities)

plot2svg.m

plot2svgstring.m

getLocalDateFormat.m

image thumbnail

updated 1 month ago

Chaos test by Ahmed Ben Saïda

A test for chaotic dynamics of a noisy time series based on the Lyapunov exponent. (chaos, lyapunov exponent, bifurcation)

chaostest.m

image thumbnail

updated 5 months ago

Tests On Simplified Vine Copulas (TOSVC) by Malte Kurz

A MATLAB toolbox for testing on simplified vine copulas (copulas, vine copulas, paircopula constructi...)

image thumbnail

updated 5 months ago

Markov_Copula_code.zip by Osvaldo Silva Filho

Markov Switching Copula Model (markov switching, copulas, dependence dynamics)

Clayton_tvp1_CL(theta,data,kappabar)

bivt_tvp1_CL(theta,Zdata,rhobar)

markovclayton_LLF(kappa,data,thetabar)

image thumbnail

updated 6 months ago

RGDS_Practical_Guide by Daniel/Ronald

MATLAB routines for the book: "Development of Innovative Drugs via Modeling with MATLAB". (simulation, pharmaceutical, simulink)

AUC

CTSbasics.m

DDEconst

image thumbnail

updated 10 months ago

GARCH,EGARCH,NAGARCH,GJR models and implicit VIX by Luis Espejo

Estimate GARCH/EGARCH/NAGARCH/GJR parameters from a time series of prices , rates and VIX value. (garch, vix, calibration)

Futures

Models

egarchmodel

image thumbnail

updated 11 months ago

MATLAB for R Users in Computational Finance by Ameya Deoras

Learn how to use MATLAB and R together to tackle your computational needs (r, rstudio, time series)

blsapp()

blsbtyval(SpotPrice, StrikePrice, RiskFreeRate, ...

blsmaincall2(Request)

image thumbnail

updated 11 months ago

Natural Gas Storage Optimization & Intrinsic Valuation by Ameya Deoras

Calculate optimal injection/withdrawal schedules for gas storage facility (energy trading)

createConstraints(facility, N, daysInMonth, startVol, end...

monthDays(dates)

plotResults(solution, facility, startVol, endVol)

image thumbnail

updated 12 months ago

Algorithmic Trading | Moving Average Crossover Strategy with WFAToolbox by WFAToolbox

The classical technical analysis strategy for an advanced algorithmic trading GUI - WFAToolbox (finance, gui, trading)

MAcross_strategy(x,price)

image thumbnail

updated 1 year ago

Algorithmic Trading with Bloomberg EMSX and MATLAB by Nicole Wilson

Files used in the webinar which can be viewed at http://www.optinum.co.za/webinars/contact_main.php (finance, demo, webinar)

constructTradingSignal(Data,M,N)

executeTrades(c, equity, signal)

generateSpacedInts(lb, ub, number)

image thumbnail

updated 1 year ago

Content Based Image Retrieval by Chez

Simple content based image retrieval for demonstration purposes. Either using knn or classification (image retrieval, content based image r..., classification)

L1(numOfReturnedImages, queryImageFeatureVector, dataset)

L2(numOfReturnedImages, queryImageFeatureVector, dataset,...

[obj, overall]=confMatPlot(confMat, opt)

image thumbnail

updated 1 year ago

Building and Extending Portfolio Optimization Models with MATLAB by sri

Object-oriented implementations of the Portfo and the Black-Litterman approach (portfolio optimizatio..., finance, object oriented progr...)

View(varargin)

compareWeights( ExcessHistoricalReturns, ExcessImpliedRet...

PortfolioBL

image thumbnail

updated almost 2 years ago

Black and Shcoles calculator by Hanan Kavitz

Graphical Black and Shcoles calculator for visualizing different sensetives (bls, black and shcoles, gui)

blscalculator(varargin)

image thumbnail

updated almost 2 years ago

Mining Economics with MATLAB by David Willingham

Simulates a distribution of Net Present Values of a mine via a forecasting model for Iron Ore Prices (commodities, mining, economics)

FitNPV(NPV)

cashflow(data,NTrials,SYear)

discounting(data,capex,NTrials,sales,discFactorY,salesb)

image thumbnail

updated almost 2 years ago

Analyzing Investment Strategies with CVaR Portfolio Optimization by Bob Taylor

Scripts and data to demonstrate the new PortfolioCVaR object in Financial Toolbox. (finance, portfolio, optimization)

covered_engine(X, T, mu, sigma, ...

gbm_calibration(t0, X, t)

gbm_call_price(X0, K, r0, T, sigma)

image thumbnail

updated almost 2 years ago

Regime Switching Model with Time Varying Transition Probabilities by Zhuanxin Ding

Code for estimating a Markov Regime Switching Model with time varying transition probabilities. (statistics, econometrics and stat...)

[Simul_Out]=MS_Regress_Sim(nr,Coeff,k,distrib)

[Spec_Out]=param2spec_tvtp(param,Spec_Tag,constCoeff,type...

[Spec_Output]=MS_Regress_Fit_tvtp(dep,indep,px,k,S,advOpt)

image thumbnail

updated almost 2 years ago

Matrix Decomposition by Aleksander

Positive definite correlation matrix based on spectral decomposition. Now both for .m, C and Mex (cholesky, decomposition, correlation matrix)

SpectralDP(Correlation)

image thumbnail

updated 2 years ago

Surrogate Model Optimization Toolbox by Julie

Surrogate model optimization algorithm for computationally expensive global optimization problems (global optimization, surrogate model, derivativefree)

BumpinessMinSampling(Data, maxeval, Surrogate, lambda, ga...

CandValue=PredictFunctionValues(Data,Surrogate,CandPoint,...

CandidatePointSampling(Data,maxeval,Surrogate,lambda,gamm...

image thumbnail

updated 2 years ago

Fit distributions to censored data by Leonidas Bantis

Fits distributions to data when left and/or right and/or interval censoring is present (distribution, fit, censoring)

evfitc.m

expfitc.m

gamfitc.m

image thumbnail

updated 2 years ago

Accelerated Failure Time (AFT) models by Leonidas Bantis

Fits accelerated failure time models in the presence of right and/or left censoring. (accelerated failure t..., aft, survival analysis)

[pars covpars SE CI Zscores pvalues gval exitflag hess fm...

[pars covpars SE CI Zscores pvalues gval exitflag hess fm...

[pars covpars SE CI Zscores pvalues gval exitflag hess fm...

image thumbnail

updated 2 years ago

SCOPE: interactively tabulate SEER excel variables by Rex Cheung

This takes SEER excel column data interactively, tabulate them, write back in table format. (data import, data export, optimization)

output=xls2tabulate2xls(xlsfilename)

image thumbnail

updated almost 3 years ago

Credit Risk Modeling with MATLAB by Ameya Deoras

These are the supporting MATLAB files for the MathWorks webinar of the same name. (credit risk, transition matrices, var)

...

Credit_Rating(newData)

GetMigrationFtsCell(id,date,numRating)

image thumbnail

updated 3 years ago

Toolkit on Econometrics and Economics Teaching by Hang Qian

Many MATLAB routines related to econometrics, statistics and introductory economics teaching. (econometrics, bayesian statistics, economic diagrams)

ADAPT_REJECT_SAMPLE.m

AGGREGATE_GIBBS1.m

AGGREGATE_ML1.m

image thumbnail

updated 3 years ago

Using MATLAB to Optimize Portfolios with Financial Toolbox by Bob Taylor

Scripts and data to demonstrate the new Portfolio object in Financial Toolbox. (portfolio, optimization, finance)

part1_plot(varargin)

PortfolioDemo

part1_intro.m

image thumbnail

updated 3 years ago

Fitting with MATLAB: Statistics, Optimization, and Curve Fitting by Richard Willey

Demo code and data for the "Fitting with MATLAB" webinar (poisson regression, logistic regression, orthogonal regression)

evalTumorWeight(t , p)

objFcn(p , tObs, drug)

CensoredData.m

image thumbnail

updated almost 4 years ago

Portfolio Optimizer Tool by Patric Schenk

Portfolio Optimizer Tool (data import, finance, gui)

portfoliotool(varargin)

ExcelReport

Portfolio

image thumbnail

updated almost 4 years ago

LinStats by Michael Boedigheimer

Statistical analysis (ANOVA,…) and plotting of fixed and mixed effects models using modern methods (statistics, gui, optimization)

blkrepmat( type, c, q )

center(X, V, dim)

coeff2eqn( coeffs, var_names, skipzeros, parens )

image thumbnail

updated almost 4 years ago

Algorithmic Trading with MATLAB - 2010 by Stuart Kozola

Files from the November 18, 2010 webinar. (algorithmic trading, trading, moving average)

crossover(parents,options,GenomeLength,FitnessFcn,unused,...

fitness(pop,indicator,price,scaling,cost)

importfile(fileToRead1)

image thumbnail

updated almost 4 years ago

Dynamic Copula Toolbox 3.0 by Manthos Vogiatzoglou

Functions to estimate copula GARCH and copula Vine models. (dependence, garch, copula vines)

ARMAeq(theta, data, spec)

CopulaGARCHLogL(theta,data,spec,solver)

CopulaToolboxTutorial

image thumbnail

updated almost 4 years ago

Efficient Frontier GUI by Ameya Deoras

Efficient frontier from Yahoo or database data. (finance, modeling, analysis)

dfdb_port_opt(varargin)

cleanMe.m

image thumbnail

updated almost 4 years ago

Financial Seminar Demos by Ameya Deoras

Demos commonly used at The MathWorks financial modeling seminars. (finance, modeling, analysis)

PortVaRmc(nsim)

blsimpv(so,x,r,t,call,maxiter,q,tol)

blsvis(varargin)

image thumbnail

updated 4 years ago

Pricing Derivatives Securities using MATLAB by Mayeda Reyes-Kattar

Examples of pricing derivatives securities using MATLAB (finance, modeling, analysis)

optionvanilla(S,E,r,T,sigma,divYield,nSims,nSteps,type, s...

portbrowser(varargin)

treedemonew(Command, Trees,Port,RS)

image thumbnail

updated 4 years ago

Desenvolvimento de Aplicacoes com MATLAB by Elia Matsumoto

Slides and demo files from the webinar "Desenvolvimento de Aplicacoes com MATLAB" (matlab, portuguese, live webinar)

ButterflyValue=Butterflyval(OptionProps)

Butterflysurf(OptionProps)

CelltowerGUI()

image thumbnail

updated 4 years ago

Modeling Variable Annuities with MATLAB by Yi Wang

This demo shows how to price variable annuity product (Guaranteed Minimum Withdrawal Benefit) (va, variable annuities, variable annuity)

calcGMWB(tickers, holdings, startDate, endDate, aWRate, a...

createSurfaceFit(IGWBGrid, initSAGrid, costGrid)

getEquityData(Ticker, FromDate, ToDate, Period)

image thumbnail

updated almost 5 years ago

Non-linear regression GUI by Pablo Marín

This GUI solves model-based non-linear regression problems of the univariate and multivariate form. (statistics, optimization)

nlinreg(varargin)

image thumbnail

updated 5 years ago

Dynamic Copula Toolbox 2.0 by Manthos Vogiatzoglou

functions to estimates various copula models via MLE (copula garch, copula vines, gaussian copula graph...)

CopulaSpec=setCopulaLLinputs(dimension)

CopulaSpec=setCopulaVineLLinputs(dimension)

CopulaToolboxTutorial

image thumbnail

updated 5 years ago

Automated Failure Boundary Mapping by Stuart Kozola

Demo files from July 21, 2009 webinar (statistics, optimization, clustering)

boundaryArea(Y,X,lb,ub,limitFunction)

boundarySearch(X0,lb,ub,limitFunction, varargin)

findPeak(t,y)

image thumbnail

updated 5 years ago

Using MATLAB(R) and the Statistics ToolboxTM for Design for Six Sigma (DFSS) by Dan Doherty

M-files used in the webinar held on November 2, 2005 (statistics, probability, design for six sigma)

x=coded2real(z,bounds)

Fandemo.m

image thumbnail

updated 5 years ago

Dynamic Copula Toolbox version 1 by Manthos Vogiatzoglou

Estimation and simulation of Copula - GARCH and Copula Vines (copulas, vines, dynamic dependence)

CompositeLLNCopula(theta,data,corrspec,optimizer,method)

CompositeLLTCopula(theta,data,corrspec,optimizer,method)

LTriangmat2vec=vecl(x)

image thumbnail

updated 5 years ago

MATLAB no Desenvolvimento de Modelos para Financas by Elia Matsumoto

Slides and demo files using Brazilian market data. (webinar, matlab, financial modeling)

GP(varargin)

GP_Aversao( )

GP_Inic( )

image thumbnail

updated 5 years ago

Risk and Asset Allocation by Attilio Meucci

Software for quantitative portfolio and risk management (finance, modeling, analysis)

...

Addition(x,y);

Adendotd(dense, d, sparAd, Ablk, blkstart)

image thumbnail

updated almost 6 years ago

Developing a Financial Market Index Tracker using MATLAB OOP and Genetic Algorithms by Mark Hoyle

Files used in the webinar of the same name (finance, modeling, analysis)

CreateIndex(NumDays,NumStocks,TotalNumStocks,L,K,s,t)

GetGAData(Wts,Stocks,Dates,StartDate)

InitialiseSession

image thumbnail

updated 6 years ago

Sampling from multivariate correlated binary and poisson random variables by Philipp Berens

These Matlab functions can be used to generate multivariate correlated binary variables, and correl

DGAnyMarginal(pmfs,Sigma,supports,Nsamples)

EstimateDiscreteJoint(A)

PoissonMarginals(means,acc)

image thumbnail

updated 6 years ago

Monte Carlo simulations using MATLAB by Vincent Leclercq

Demonstrations of Monte Carlo simulations in MATLAB (finance, modeling, analysis)

BlsHalton(S0,X,r,T,sigma,NPoints)

BlsMC(S0,X,r,T,sigma,NRepl)

BlsMCAV(S0,X,r,T,sigma,NRepl)

image thumbnail

updated almost 7 years ago

Reliable and Roubst Design by Stuart Kozola

MATLAB Code used in the Jan 2008 Digest Article (optimization, realiability, robust design)

cumprobPlot(cost)

myCostFcn(x,simParms)

myCostFcnRR(x,simParms)

image thumbnail

updated almost 7 years ago

MathWorks Webinar: Using Genetic Algorithms in Financial Applications by Oren Rosen

Presentation and M-Files for MathWorks Webinar (finance, modeling, analysis)

ComputeBestPortfolio(expRet,expCov,portSize,targetRet)

ComputeHistoricalStats(prices)

FindTarget(target)

image thumbnail

updated 8 years ago

Improving an Engine Cooling Fan Using Design for Six Sigma Technique by Stuart Kozola

Demo files from MATLAB Digest Article "Improving an Engine Cooling Fan Using Design for Six Sigma Te (statistics, probability, six sigma)

coded2real(z,bounds)

Improving an Engine Cooling Fan Using Design for Six Sigm...

image thumbnail

updated 8 years ago

Interactive Efficient Frontier Viewer by Paul Taylor

Efficient Frontier Viewer using nested functions (finance, modeling, analysis)

portfolio_eff_frontier(varargin)

Contact us