Fit Models
zpkfit uses the nonlinear least-squares fitter (lsqnonlin) to fit an analytic model of any (fixed) number of poles and zeroes to numerical (presumably measured) frequency response data. It takes as arguments a frequency vector, a frequency response vector, and vectors of the initial guesses of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): zpkfit Download |
This submission provides functions (and examples scripts) for estimation, simulation and forecasting of a general Markov Regime Switching Regression. Features of the package:- Support for univariate and multivariate models.- Support of any number of states and any number of explanatory...
Platforms: Matlab
License: Freeware | Size: 409.6 KB | Download (56): MS_Regress - A Package for Markov Regime Switching Models in Matlab Download |
This is a robust and accurate circle fit. It works well even if datapoints are observed only within a small arc. This circle fit wasproposed by G. Taubin in article "Estimation Of Planar Curves, Surfaces And Nonplanar Space Curves Defined By Implicit Equations, With Applications To Edge And Range...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Circle Fit (Taubin method) Download |
This is a fast non-iterative ellipse fit, and among fast non-iterative ellipse fits this is the most accurate and robust.It takes the xy-coordinates of data points, and returns the coefficients of the equation of the ellipse: ax^2 + bxy + cy^2 + dx + ey + f = 0,i.e. it returns the vector...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (50): Ellipse Fit (Taubin method) Download |
This is a fast and non-iterative ellipse fit. Usage: A = EllipseDirectFit(XY)Input: XY(n,2) is the array of coordinates of n points x(i)=XY(i,1), y(i)=XY(i,2) Output: A = [a b c d e f]' is the vector of coefficients of the equation of the best fitting ellipse: ax^2 + bxy + cy^2 + dx + ey + f =...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (45): Ellipse Fit (Direct method) Download |
- This demo supports R2006a -> R2010aSimulink plant and controller models are used with LEGO's latest high-tech robot (ARM-based LEGO Mindstorms NXT) to illustrate industrial application of Model-Based Design with Production Code Generation. Take note of the model architecture and component...
Platforms: Matlab
License: Freeware | Size: 5.92 MB | Download (49): Embedded Coder Robot NXT Demo Offers an enjoyable Model-Based Design experience using Simulink models with Lego robots Author: Takashi Chikam(Scripts) Download |
This project deals with the translation of a Simulink models to SpecC specificationmodels. Matlab is one of the leading softwares in model based and algorithmic designing. SpecC (close to ANSI C) is a high level language which can be implemented on hardware usingSystem on Chip Environment(SCE)....
Platforms: Matlab
License: Freeware | Size: 2.52 MB | Download (39): Translation of Matlab & Simulink models to SpecC specification Models Download |
TPT offers unique and all-encompassing support for testing MATLAB/SimulinkdlT«/Stateflow- and TargetLinkdlT« models. The strengths of both systems can be used because of the perfectly tuned interface between TPT and MATLAB/Simulink. Functional models are created normally in...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 163.84 KB | Download (44): Systematic testing Simulink Models using TPT Download |
These files support the webinar titled "Developing Models from Experimental Data Using System Identification Toolbox". The webinar was presented on April 05, 2007 and can be found at:http://www.mathworks.com/wbnr30317For other webinars and demos related to System Identification Toolbox, please...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (53): Developing Models from Experimental Data using System Identification Toolbox Download |
Simple example of the use of the FMINSEARCH function to fit the blackbody equation to the emission spectrum of an incandescent body for the purpose of estimating its color temperature and emissivity. fitblackbody.m is the fitting function. BlackbodyDataFit.m is a script that fits a small set of...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): Fit blackbody equation to spectrum Download |
This submission includes functions and scripts for the estimation and simulation of ACD (autoregressive conditional duration) models. The zip file includes: - Scripts and functions for Estimation of an ACD(q,p) model with exponential or weibull distribution- Scripts and functions for Simulation...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (45): Estimation and Simulation of ACD models in MatLab Download |
An essential step in embedded software development, floating- to fixed-point conversion can be tedious, labor-intensive, and error-prone. System engineers frequently design algorithms in floating-point math, usually double-precision. This format represents the ideal algorithm behavior but takes...
Platforms: Matlab
License: Freeware | Size: 491.52 KB | Download (48): Converting Models from Floating Point to Fixed Point for Production Code Generation Download |
Slides, software, and data for the MathWorks webinar, "Using MATLAB to Develop Macroeconomic Models." The file moneydemo.zip contains a file moneydemo.pdf with slides for the webinar and a collection of MATLAB scripts and helper functions to perform a number of macroeconomic analyses. The main...
Platforms: Matlab
License: Freeware | Size: 266.24 KB | Download (68): Using MATLAB to Develop Macroeconomic Models Download |
These files introduce how Symbolic Math Toolboxd-OC?D? can be used to evaluate Nelson Siegel and Svensson models, which are 2 widely used techniques for modeling yield data. We demonstrate how you can define the models in the MuPAD notebook interface and perform some basic analysis and...
Platforms: Matlab
License: Freeware | Size: 307.2 KB | Download (40): Using MATLAB(R) and Symbolic Math Toolbox(TM) to Develop and Analyze Financial Models Download |
This is a robust and accurate circle fit. It works well even if datapoints are observed only within a small arc. This circle fit was proposed by V. Pratt in article "Direct least-squares fitting of algebraic surfaces", Computer Graphics, Vol. 21, pages 145-152 (1987). It is more stable than the...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Circle Fit (Pratt method) Download |
In this paper i present my views on how to do systematic testing of SIMULINK models. The views present are from my own perspective based on my experience working with model based product development applications. I also provide information on some testing tools and other tips. Please let me know...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 399.36 KB | Download (40): Testing of Simulink Models Download |
This is a parallel implementation of the Expectation Maximization algorithm for multidimensional Gaussian Mixture Models, designed to run on NVidia graphics cards supportingCUDA. On my machine, it provides up to 170x performance increases (16 dims, 16 clusters, 1000000 data points).See the report...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 143.36 KB | Download (43): Expectation Maximization of Gaussian Mixture Models via CUDA Download |
This file includes models based on examples from the textbook, System Dynamics, 2e written by William Palm III and published by McGraw-Hill. The models are built using Simscape and Simulink. A free set of curriculum materials is available (for instructors) that includes a set of lecture slides...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 112.64 KB | Download (44): System Dynamics Models in Simscape Download |
Well, i made this function some time ago and its purpose was to fit the Universe of the Greek stock market. After having grabbed my information to some matrices, vectors, god knows what, i decided to use it to price interest rate derivatives! I wont tell how, but you might as well try it as...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Multivariate NIG fit Download |
This is the package for online (competitive)/batch prediction using generalized linear models under square loss. The algorithms are derived using the Aggregating Algorithm.The algorithms have guarantees on the cumulative square loss for the worst case when applied in online fashion in comparison...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (46): Online/Batch generalized linear models under square loss Download |