Matlab Code Downloads
This file contains MATLAB code that can parse Simscape language files, extract the equations, and displays them in a format that is easy to read. The equations are converted to LaTeX format and then displayed in a MATLAB figure window.Please read the README.txt file to get started.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (41): Simscape Language Equations, Pretty Print Download |
The current Matlab-code can be used for real-time audio and image processing. Fixed-length segments of audio data are recorded from soundcard's input and an image is also captured in each block. In particular, the provided code does the following: - Repetively records audio segments of fixed...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 184.32 KB | Download (40): Real Time Microphone and Camera data acquisition and audio-video processing Download |
Matlab code to read analog signal coming from a daq or from your sound card. This code allows to display the data in real-time or when the acquisition finished.The real-time visualization method is better for monitoring.The non real-time visualization method is better for accurate acquisitions.It...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (45): Real-time DAQ and sound card visualization Download |
This is a C implementation of the great Matlab code provided by Darren Engwirda. You can find his code in:http://www.mathworks.com/matlabcentral/fil...in-polygon-test According to my estimates, it works more than 2x as fast. So far, this is one of the fastest implementation that I know of....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Fast Inpolygon in MEX Download |
Serves as a first attempt to get publicly available MATLAB code for computing the hypervolume and hypervolume contributions. The implementation is usable in 2D and 3D. For 4D and beyond, it is not so efficient, but it does produce correct results. Contributions are very welcome. The code is also...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Hypervolume Computation Download |
These files are the MATLAB code for "Cuckoo Optimization Algorithm (COA)".Cuckoo Optimization Algorithm (COA) is inspired by the life of a bird family, called Cuckoo. Special lifestyle of these birds and their characteristics in egg laying and breeding has been the basic motivation for...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): Cuckoo Optimization Algorithm Download |
The histogram of the image gives the frequency of occurrence of the gray level. it gives the no. of times a particular gray level occurs in the image. In the case of a colour image,the histogram is expected to give the number of a particular colour has occurred in the image.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): matlab code for histogram of colour image Download |
Matlab code to do Image Quilting as presented in the SIGGRAPH 2002 paper by Efros & Freeman. Note: this isn't Efros & Freeman's code, just an implementation of it. Texture Synthesize IMOUT = SYNTHESIZE(IMGIN , SIZEOUT, TILESIZE, OVERLAP [, ISDEBUG]) returns an image that is Texture Synthesized...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 133.12 KB | Download (44): [SigGraph2002] Image Quilting/Texture Synthesize Download |
The present matlab code derives from the basic Lattice Boltzmann code named LB BGK D2Q9 and submitted on 2005-02-10 (see Matlab Central). This version is particularly tailored to porous systems. Indeed, rather than keeping in memory values of density calculated in both wet and dry locations (i.e....
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (43): lattice boltzmann 2D for porous system Download |
Matlab code for calculation of 2d Gaussian Q function.General description This m-file provide a numerical computation of two-dimensional Gaussian Q-function, that is Q(x1,x2,ro)=1/((1/sqrt(2*pi)*(1-ro^2))*int(int(exp(-(x^2+y^2-2roxy)/(2*(1-ro^2))) dxdyThe result may include a very small...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (39): Two dimensional Q-function Download |
FIG2M - Generate programmatic GUI M-File from a FIG-FileVersion : 1.0Created : 10/05/2006Modified: 14/04/2010Author : Thomas Montagnon (The MathWorks France)>> outputFile = fig2m(guiName,outputDir,syscolorfig,cb_gen); guiName -> Name of the Fig-File (absolute or relative path) outputDir ->...
Platforms: PHP
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (40): Convert FIG to MATLAB code Download |
MATLAB supports sound acquisition and generation using Data Acquisition Toolbox.This MATLAB code example shows you to acquire two seconds of audio data from a sound card, calculate the frequency components, and plot the results.Use the "Save and Publish to HTML" button in the MATLAB Editor to...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (47): MATLAB sound - code example Download |
The current submission illustrates a way to use the popular open source arduino boards with MATLAB illustrating the capabilities of data acquisition and visualization in real time .The Arduino Demilanove based on the ATMEGA 328 is used to send a series of time series through the serial interface...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (43): Arduino meets MATLAB 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 (71): Using MATLAB to Develop Macroeconomic Models Download |
If MATLAB was your first or primary programming language, you probably will never miss having a preprocessor. However if you have gravitated to MATLAB from a background in C programming you might wonder where MATLAB's pre-processor is. Well MATLAB doesn't come with one.MPP was designed to fill...
Platforms: Matlab
License: Freeware | Size: 133.12 KB | Download (51): MPP (Matlab PreProcessor) Download |
Contains a set of files useful to edit Matlab files.Included is :1) Syntax highlighting2) Correct indentation3) Integration in vim of the mlint Matlab code checker with the :make command4) Correct setting to use the matchit.vim script (extension of the % command to match if/end, for/end,......
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (41): Editing Matlab files in Vim Download |
This simple code handles the problem where MATLAB interfaces with an external program that itself writes to a data file. The 3-line use of this code is as follows:(1) call external code (usually via system command)(2) call sim_runtime(...)(3) call subsequent statementsThe subsequent statements...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Pause MATLAB when running external simulation that writes to file Download |
m2tex converts a matlab file into a colored, tabbed .m file will all of the proper symbols converted to be latex compatible.The latex files it produces can easily be included in other files by using /input{filename}or /texttt{input{filename}} for more matlab look to the codeRemember latex assumes...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (40): Matlab 2 Latex Download |
A white paper that describes a simple workflow, using VB code (provided in a sample Master.bas file), to call any MATLAB code or to run any MATLAB files from within PowerPoint. Simply edit the .bas file per the instructions, and load it into your PowerPoint. Then edit any object in the PowerPoint...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 20.48 KB | Download (39): Calling MATLAB from PowerPoint Download |
EMAT Embedded Matlab templating EMat class provides a templating system in Matlab like Ruby's ERB system. Matlab code can be embedded inside any text document to easily control the document generation flow. A simple example is illustrated here: >> x = 42; >> tmpl = ' The value of x is '; >> obj...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): EMat: Embedded Matlab Templating Download |