tag:www.mathworks.com,2005:/matlabcentral/fileexchange/feedMATLAB Central File Exchangeicon.pnglogo.pngMATLAB Central - File ExchangeUser-contributed code library2015-04-01T04:32:01-04:00235211100tag:www.mathworks.com,2005:FileInfo/503612015-04-01T07:59:06Z2015-04-01T07:59:06ZBeam column vibrationShows mode shapes and vibration of a beam column<p>This program visualizes beam vibration and mode shapes (only neutral axis) .All you have to input is material and beam shape and size .</p>shiva prasad kattulahttp://www.mathworks.com/matlabcentral/profile/authors/5430621-shiva-prasad-kattulaMATLAB 8.3 (R2014a)falsetag:www.mathworks.com,2005:FileInfo/503602015-04-01T05:26:24Z2015-04-01T05:26:24Zlatexit(A, dp)Converts a (m \times n) matrix to LaTeX \bmatrix for quick TeX-ing!<p>An irritating problem is having to copy and paste a matrix from MATLAB to any LaTeX editor. I couldn't find a simple program which made the MATLAB format into a TeX-friendly format. I hope this tiny code helps solve that problem.</p>Ankush Chakrabartyhttp://www.mathworks.com/matlabcentral/profile/authors/3016761-ankush-chakrabartyMATLAB 8.3 (R2014a)falsetag:www.mathworks.com,2005:FileInfo/489562015-01-06T01:48:02Z2015-04-01T05:06:39Zaudiofilter/mex-itSimplify creation of mex file for C++ function<p>Automatically mex C++ functions for Matlab (with C++11 compiler)
<br />supply the mex_function and let the compiler do the rest!
<br />This supports basic C++ data types. Soon support for Eigen Matrices may be added.
<br />How do the compiler know the inputs and outputs?
<br />Non-const references mean outputs
<br />Everything else are inputs
<br />Build status</p>
<p>Mac OS X with Clang 6
<br />Linux GCC 4.9.2
<br />Visual Studio 2013
<br />Example</p>
<p>Create a c++ implementation file like this</p>
<p>void mex_function(const double &x, const double &y, const double &z, double& result) {
<br /> result = (x + y)*z;
<br />}
<br />#include "mex_wrap.cxx"</p>
<p>Then build with CMake or using mex within Matlab
<br />For single file example, you can do this in matlab (for recent GCC/Clang)
<br />mex CXXFLAGS="\$CXXFLAGS -std=c++11" simple_example.cpp</p>Tony Kirkehttp://www.mathworks.com/matlabcentral/profile/authors/4731795-tony-kirkeMATLAB 8.4 (R2014b)C++11 compiler (variadic template support needed)falsetag:www.mathworks.com,2005:FileInfo/470232014-06-21T11:40:25Z2015-04-01T05:05:22ZChebfunChebfun is an open-source package for numerical computation with functions to 15-digit accuracy<p>Chebfun is an open-source software system for numerical computing with functions. The mathematical basis is piecewise polynomial interpolation implemented with what we call “Chebyshev technology”. The foundations are described, with Chebfun examples, in the book Approximation Theory and Approximation Practice (L. N. Trefethen, SIAM 2013). Chebfun has extensive capabilities for dealing with linear and nonlinear differential and integral operators, and also includes continuous analogues of linear algebra notions like QR and singular value decomposition. The Chebfun2 extension works with functions of two variables defined on a rectangle in the x-y plane.</p>
<p>Most Chebfun commands are overloads of familiar MATLAB commands — for example sum(f) computes an integral, roots(f) finds zeros, and u = L\f solves a differential equation.</p>
<p>To get a sense of the breadth and power of Chebfun, a good place to start is by looking at our Examples (<a href="http://www.chebfun.org/examples/">http://www.chebfun.org/examples/</a>) or the introductory Guide (<a href="http://www.chebfun.org/docs/guide/">http://www.chebfun.org/docs/guide/</a>).</p>
<p>Please contact us with any questions/comments at <a href="mailto:help@chebfun.org">help@chebfun.org</a>.</p>Chebfun Teamhttp://www.mathworks.com/matlabcentral/profile/authors/1823057-chebfun-teamMATLAB 8.2 (R2013b)MATLAB23972falsetag:www.mathworks.com,2005:FileInfo/470082014-06-20T01:13:29Z2015-04-01T05:04:21ZBiMatA MatLab framework to facilitate the analysis of bipartite complex networks<p>BiMat is a MATLAB library whose main function is the analysis of modularity
<br />and nestedness in bipartite ecological networks. Its main features are:
<br />* Modularity and nestedness calculation.
<br />* Diversity calculation using Shannon and Simpson's indexes.
<br />* Different null models for the creation of random bipartite networks.
<br />* Statistics of the network.
<br />* Internal statistics of the modules (multi-scale analysis).
<br />* Group statistical analysis (analysis of many networks).
<br />* Parallel processing for improving the speed during a statistical analysis.
<br />* Plotting in matrix or graph layouts.
<br />Authors:
<br />This project has been developed by:
<br />* [Cesar Flores](mailto:<a href="mailto:cesar.flores@gatech.edu">cesar.flores@gatech.edu</a>)</p>
<p>This project received contributions of Sergi Valverde, Joshua S Weitz & Tim Poisot (<a href="http://timotheepoisot.fr/">http://timotheepoisot.fr/</a>). For a Python version that contains
<br />some of the BiMat features you may want to check: <a href="https://github.com/tpoisot/BiWeb">https://github.com/tpoisot/BiWeb</a></p>
<p>Please, feel free to report bugs on:</p>
<p><a href="https://github.com/cesar7f/BiMat/issues">https://github.com/cesar7f/BiMat/issues</a></p>César Flores Garcíahttp://www.mathworks.com/matlabcentral/profile/authors/2373385-cesar-flores-garciaMATLAB 8.0 (R2012b)MATLABfalsetag:www.mathworks.com,2005:FileInfo/498202015-02-25T12:41:49Z2015-04-01T05:04:14ZThe MCMC Hammer, gwmcmcMarkov Chain Monte Carlo sampling of posterior distribution<p>An implementation of the Goodman & Weare MCMC sampler for matlab</p>Aslak Grinstedhttp://www.mathworks.com/matlabcentral/profile/authors/870202-aslak-grinstedMATLAB 8.4 (R2014b)MATLAB47912falsetag:www.mathworks.com,2005:FileInfo/503592015-04-01T03:43:52Z2015-04-01T03:43:52ZMatlab Tetris Using AccelerometerA Matlab final project done for college<p>A full description on how this program works is in the main project.m file that accompanies the guide generated .fig file</p>Blochhttp://www.mathworks.com/matlabcentral/profile/authors/5720508-blochMATLAB 8.4 (R2014b)MATLABArduino board programmed to print to serial the g forces felt by a 3 axis analog accelerometer if you don't have this the code is portable enough to use any input (the movement is decided by numbers like 1 2 3 4 for left, right, twist, or speed up)falsetag:www.mathworks.com,2005:FileInfo/503582015-04-01T03:06:41Z2015-04-01T03:35:13ZTrajectory Generator Block using the Reflexxes Motion LibrarySimulink block for online trajectory generation using the Reflexxes Motion Library.<p>Simulink block for online trajectory generation using the Reflexxes Motion Library. The block provides instantaneous setpoint generation capabilities for example motion control systems. C++ code can be generated from the block using the Simulink Coder.</p>Ivo Houtzagerhttp://www.mathworks.com/matlabcentral/profile/authors/1121576-ivo-houtzagerMATLAB 8.0 (R2012b)Simulink CoderSimulinkRequires the download of the Reflexxes Motion Library Type II from http://reflexxes.com/products/overview-and-download.falsetag:www.mathworks.com,2005:FileInfo/503572015-03-31T22:20:24Z2015-04-01T02:10:40ZKinect Infrared (IR) and Depth Image SimulatorSimulation tool that generates noisy Kinect IR and depth images from a user inputted CAD model<p>This zip-file contains functions to simulate noisy Kinect infrared (IR) and depth images from a user inputted CAD model. </p>
<p>This work was motivated by an extensive study of the sensor's underlying mechanisms and performance characteristics, as well as newly constructed empirical models for the intensity, speckle, and detector noise of the received IR dot pattern. The simulator models the physics of the transmitter/receiver system, unique IR dot pattern, disparity/depth processing technology, and random intensity speckle and IR noise in the detectors. Our model accounts for important characteristics of Kinect's stereo triangulation system, including depth shadowing, IR dot splitting, spreading, and occlusions, correlation-based disparity estimation between windows of measured and reference IR images, and sub-pixel refinement.</p>
<p>The Kinect simulator functions require the CAD model to include vertex, facet, and facet normal arrays. The structure of the arrays must be:
<br /> vertex - 3xn, n vertices of each 3D coordinate that defines the CAD model.
<br /> face - 3xm, m facets, each represented by 3 vertices that defines the CAD model.
<br /> normalf - 3xm, m facets, representing the normal direction of each facet.
<br />Note, the single CAD model input could be an aggregate collection of multiple CAD models of interesting objects and background structures. I also provide the option to include a CAD model of a flat wall to function as the scene’s background.</p>
<p>Also included is a Matlab wrapper for OPCODE, which a collision detection or ray casting library for triangular 3D meshes. The wrapper was written by Vipin Vijayan, and can be found here:
<br /><a href="http://www.mathworks.com/matlabcentral/fileexchange/41504-ray-casting-for-deformable-triangular-3d-meshes/content/opcodemesh/matlab/opcodemesh.m">http://www.mathworks.com/matlabcentral/fileexchange/41504-ray-casting-for-deformable-triangular-3d-meshes/content/opcodemesh/matlab/opcodemesh.m</a></p>
<p>The original OPCODE was written by Pierre Terdiman, and can be found here:
<br /><a href="http://www.codercorner.com/Opcode.htm">http://www.codercorner.com/Opcode.htm</a></p>
<p>This code was used to simulate line-of-sight vectors emanating from the transmitter coordinate system, which in effect represent the IR laser system that transmits the dot pattern onto the given scene. An idealized binary representation of the Kinect dot pattern is used as default for the simulator, which was constructed by Andreas Reichinger, and can be found here:
<br /><a href="https://azttm.wordpress.com/2011/04/03/kinect-pattern-uncovered/">https://azttm.wordpress.com/2011/04/03/kinect-pattern-uncovered/</a></p>
<p>The downloadable package includes a demo to exhibit the functionality of the IR and depth image simulator options, which generates images of numerous CAD models (also included).</p>
<p>For a detailed description of how this simulator was developed, please refer to</p>
<p> M. J. Landau, B. Y. Choo, P. A. Beling, “Simulating Kinect Infrared and Depth Images,”
<br /> IEEE Transactions on Image Processing. 2015 (under submission).</p>
<p>If this simulator is used for publication, please cite this in your references.</p>Michael Landauhttp://www.mathworks.com/matlabcentral/profile/authors/1485560-michael-landauMATLAB 8.2 (R2013b)falsetag:www.mathworks.com,2005:FileInfo/503552015-03-31T20:21:22Z2015-03-31T21:39:54ZA rational approximation of the Voigt functionRapid and accurate computation of the Voigt function<p>This function file is a subroutine for rapid and accurate computation of the Voigt function. It covers the domain of practical interest 0 < x < 40,000 and 10^-4 < y < 10^2 required for applications using the HITRAN molecular spectroscopic database. The average accuracy in this domain is 10^-14. Use opt = 1 for more accurate and opt = 2 for more rapid computation. By default opt = 1.</p>Sanjar Abrarovhttp://www.mathworks.com/matlabcentral/profile/authors/5597508-sanjar-abrarovMATLAB 7.9 (R2009b)false