Solving Functions In Matlab
These are the code examples used in the "What's New for Object-Oriented Programming in MATLABdlT«" webinar, which described the new object oriented features in Release 2008a.To use the code, add the top folder to your path. See the test* M-files and associated published HTML reports for code...
Platforms: Matlab
License: Freeware | Size: 112.64 KB | Download (46): What's New for Object-Oriented Programming in MATLAB Webinar - Code Examples Download |
Show how to plot a Smith chart in Matlab. Show how to perform a 2 element match to 50 ohms termination using the Smith chart. Show that depending on the termination impedance that there is more than one combination of elements solving the problem.
Platforms: Matlab
License: Freeware | Size: 1.74 MB | Download (51): Smith chart demo 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 |
M-files accompanying the " Genetic Algorithms & New Optimization Methods in MATLAB " webinar.These files provide what you need to run the two demos: Optimization of non-smooth objective function, and Optimization of a random stochastic objective function.To run the first demo run the file...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (58): Optimization with MATLAB and the Genetic Algorithm and Direct Search Toolbox Download |
How to fit a 2D Gaussian function to noisy data in Matlab? Or data with another number of dimensions and arbitrary fit function?It took me a while to find out how Matlab does this by the functions lsqcurvefit, fmincon or fminsearch. This project demonstrates how to use these functions to fit ND...
Platforms: Matlab
License: Freeware | Size: 30.72 KB | Download (50): Nonlinear fitting n-dimensional data with arbitrary functions Download |
This program represents a further development of the standard powerful d-deDUnlinfitd-deDt facility already in matlab. The major problem with d-deDUnlinfitd-deDt is that it can only handle fitting of one dimensional arrays (x, y) where x is the independent variable and y is the dependent one.The...
Platforms: Matlab
License: Freeware | Size: 40.96 KB | Download (46): Two Dimensional Surface Fitting Program 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 |
xmlread, xmlwrite and xslt are not provided in MATLAB 6.1 (R12.1), but if you've got the Report Generator installed you'll have the "Saxon" and "Xerces" JAR files which contain an XML reading/writing/transforming implementation. All you have to do is call the right Java methods. The attached...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (47): XML utilities for MATLAB Download |
This function provides a supplement to the Matlab Symbolic toolbox to substitute and simplify long expressions. Maple does not provide this functionality.input-- Input expression that has some terms to be substituted. >> input='a^2-2b+c-3'; >> inputmode=1;Note that 'inputmode=1' indicates that...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (42): Substitute Expressions in Matlab Download |
The example is on developing an algorithm for detecting an object (green ball) in MATLAB. The demo highlights* image import (and video import)* image visualization* simple image processing* automatic report generation* GUI building* deploying stand alone applicationYou can find the recording of...
Platforms: Matlab
License: Freeware | Size: 327.68 KB | Download (41): Demo files for "Algorithm Development with MATLAB" Webinar Download |
The Strategy Pattern is just one of many patterns defined by the "Gang of Four" that are commonly used in many other object-oriented programming languages.Now with Matlab 2008b we can define Interfaces and Abstract classes that can make use of many of these patterns. Not only is this good coding...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Strategy Design Pattern in Matlab 2008b Download |
Includes Guides on how to use visual studio to create Matlab compatible Cuda Code, how to compile, debug and run it using various methods, and much more.
Platforms: Matlab
License: Freeware | Size: 1.11 MB | Download (44): Tutorials on Creating, Compiling and running CUDA Accelerated programs in Matlab Download |
Sajax is a simple toolkit to expose functions in your PHP scripts as JavaScript stubs. This can be called by the browser to do work on the server without refreshing the page. It utilizes XMLHttpRequest to make the magic happen. This kind of technology, generally known as remote scripting or...
Platforms: *nix
License: Freeware | Size: 16.38 KB | Download (98): Sajax Download |
JCONTROL provides an easy way to integrate a full range of java GUIs from the java.awt and javax.swing libraries into MATLAB. Example:obj=JCONTROL(Parent, Style);obj=JCONTROL(Parent, Style,...PropertyName1, PropertyValue1,...PropertyName2, ProeprtyValue2....);Inputs:Parent: the handle of a MATLAB...
Platforms: Matlab
License: Freeware | Size: 20.48 KB | Download (44): Using Java Swing components in MATLAB Download |
This upload contains a hybrid Particle Swarm Optimization algorithm for functions in the real space. An options file is also provided, which lets the user fully parameterize the process. The hybrid function used is the @fminsearch, which is available on the MATLAB core. The PSO performs very well...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (46): Hybrid Particle Swarm Optimization Download |
HOT is a package originally constructed for combustion modeling in Matlab. It calculates common thermodynamic properties such as enthalpy, specific heat, entropy, internal energy, gamma, ideal gas constant, molecular weight, etc
Platforms: Matlab
License: Freeware | Size: 143.36 KB | Download (40): HOT Thermodynamic Tools for Matlab Download |
This small script modifies the files used by MATLAB to compile mex-functions within MATLAB so that CUDA is supported.Once the script setup_cuda_mex.m is run you can just compile CUDA mex files with the function cuda_mex.m.Only Win32 with Visual Studio is supported in the current version.CUDA...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (44): CUDA MEX Download |
In this set of files, I propose a simple CPPI (Constant Proportion Portfolio insurance) implementation. One can run the backtesting of such a strategy, playing with the parameters of the strategy such as Multiplier (Risk Exposure), or Smoothing factor.A set of slides brifly reminf the basics of a...
Platforms: Matlab
License: Freeware | Size: 4.15 MB | Download (46): A simple CPPI strategy in MATLAB Download |
This function look in the specified workbook to a specific Named range given as an input. If not found, an empy matrix is returned. the workbook should be an absolute path.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Store Excel named range in MATLAB Download |
Inter-Thread Communication (ITC) aims to make it exceedingly easy to call functions in other threads. The lexer does all the work, so just run the lexer on your headers, then call the stub functions. In addition, it also provides a complete threading API, with the four threading primitives...
Platforms: *nix
License: Freeware | Size: 419.84 KB | Download (110): Inter-Thread Communication Download |