tag:www.mathworks.com,2005:/matlabcentral/fileexchange/feedMATLAB Central File Exchangeicon.pnglogo.pngMATLAB Central - File ExchangeUser-contributed code library2015-04-02T03:08:11-04:00235341100tag:www.mathworks.com,2005:FileInfo/503762015-04-02T06:57:06Z2015-04-02T06:57:06ZBrowse image using GUIBrowse and display image using GUIDE.<p>Reading and dsplaying image in MATLAB is tedious task, so this program will make reading and displaying image as simple as pushing a button. This program is developed to browse ,select and diplay image in a GUI in MATLAB. This is just a basic program , you can modify it and use it as per your requirements.</p>Rishabh Tharejahttp://www.mathworks.com/matlabcentral/profile/authors/2435654-rishabh-tharejaMATLAB 8.1 (R2013a)Image Processing ToolboxMATLABfalsetag:www.mathworks.com,2005:FileInfo/495422015-02-04T20:06:06Z2015-04-02T03:57:18ZTools for Axis Label Alignment in 3D PlotMake axis labels parallel to axes and place the them to a proper distance from the axes<p>This submission includes tools for axis label alignment, i.e. rotation and translation.
<br />The functions still work when the projection mode is perspective or when the data aspect ratio is not [1 1 1].
<br />Functions:
<br />align_axislabels: Rotate x, y and z labels to the direction of their corresponding axes and move the axis labels to a proper distance from the axes;
<br />axislabel_rotation: Perform a rotation operation only;
<br />axislabel_rotation_angle: Compute the proper angles of x, y and z labels in order to align them to the direction of their axes, but not perform the rotation operation;
<br />axislabel_translation: Move axis labels to a proper distance from the axes.
<br />Example:
<br />z = peaks;
<br />surf(z);
<br />set(gca,'dataaspectratio',[1 1 0.5],'projection','perspective','box','on')
<br />xlabel('This is an x label','fontsize',14,'fontweight','bold','color',[1 0 0])
<br />ylabel('This is a y label','fontsize',14,'fontweight','bold','color',[0 0 0])
<br />zlabel('This is a z label','fontsize',14,'fontweight','bold','color',[0 0 1])
<br />h = rotate3d;
<br />set(h,'ActionPostCallback',@align_axislabels)
<br />See demo.m for more information.</p>Ligong Hanhttp://www.mathworks.com/matlabcentral/profile/authors/4185006-ligong-hanMATLAB 8.3 (R2014a)MATLAB27450falsetag:www.mathworks.com,2005:FileInfo/503292015-03-29T23:08:42Z2015-04-02T02:44:04ZJQR/JRQ/JQL/JLQ factorizationsJQR/JRQ/JQL/JLQ factorizations of an array<p>JQR/JRQ/JQL/JLQ computes a J-orthogonal (or J-unitary, or hyperbolic) QR/RQ/QL/LQ factorization of the matrix A. For example, the JQR factorization decomposes the matrix A = Q*R for a given signature matrix J, where R is an upper triangular matrix with positive values on the diagonal, and Q is a J-orthogonal matrix with Q'*J*Q = J. The given signature matrix J must be a diagonal matrix with 1 or -1 on the main diagonal and zeros on all the subdiagonals.
<br />Example code:
<br />A = randn(10);
<br />J = blkdiag(-eye(5),eye(5));
<br />[Q,R,Jp] = jqr(A,J);
<br />norm(A-Q*R)
<br />norm(Jp - Q'*J*Q)</p>Ivo Houtzagerhttp://www.mathworks.com/matlabcentral/profile/authors/1121576-ivo-houtzagerMATLAB 8.0 (R2012b)falsetag:www.mathworks.com,2005:FileInfo/503752015-04-02T01:10:50Z2015-04-02T01:10:50Ztesttest<p>test</p>gxphttp://www.mathworks.com/matlabcentral/profile/authors/6318082-gxpMATLAB 7.14 (R2012a)MATLABfalsetag:www.mathworks.com,2005:FileInfo/503602015-04-01T05:26:24Z2015-04-02T00:47:35Zlatexit(A, dp)Converts a (m \times n) matrix/vector 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/503572015-03-31T22:20:24Z2015-04-01T21:09:59ZKinect 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,” 2015 (under submission).
<br />
<br />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/503742015-04-01T20:52:37Z2015-04-01T20:52:37ZDetailed Model of Synchronous Generator including AVR and GovernerFull order / detailed model of the synchronous generator including the controls<p>This model simulates the detailed model of synchronous generator. This is full order model of the machine. AVR (Automatic voltage regulator and speed governor are also modelled) Please follow the steps
<br />1. Run the script
<br />2. enter the time at which the machine is synchronized to the mains
<br />3. run the model
<br />Observe the transients during the synchronization.
<br />All the parameters of the machine are given in pu. the generator is modelled in dq reference frame. The name of the reference book from which the equations of the machine are derived is also given in the matlab script.</p>Abdul Wahab Koraihttp://www.mathworks.com/matlabcentral/profile/authors/4394117-abdul-wahab-koraiMATLAB 8.1 (R2013a)Simulinkfalsetag:www.mathworks.com,2005:FileInfo/503702015-04-01T15:05:24Z2015-04-01T16:07:55ZMake utility for MCC compiler"Make" utility for compiling standalone Matlab executables with mcc<p>Boston University Research Computing has developed a standalone utility package to make standalone generation, and especially subsequent updating, more convenient:
<br />make.m creates standalone with application-specific settings defined in makefile.m.
<br />makefile.m is a template with which application-specific parameters are set by user, such as the application’s directory path and file names (all of which in a single folder), toolboxes needed, and MATLAB runtime behaviors.</p>
<p>Detailed usage instructions are available at: <a href="http://www.bu.edu/tech/support/research/software-and-programming/common-languages/matlab/standalone/standalone-made-easy/">http://www.bu.edu/tech/support/research/software-and-programming/common-languages/matlab/standalone/standalone-made-easy/</a>
<br />-----------------------------------------
<br />Kadin Tseng & Keith Ma
<br />Research Computing Services
<br />Boston University</p>Keith Mahttp://www.mathworks.com/matlabcentral/profile/authors/6190655-keith-maMATLAB 8.1 (R2013a)MATLAB Compilerfalsetag:www.mathworks.com,2005:FileInfo/416662013-05-06T21:03:38Z2015-04-01T15:47:20ZFast 3D/2D Region Growing (MEX)A very fast 2D and 3D region growing algorithm implemented in c++.<p>Native Matlab implementations of region growing algorithms are usually quite slow, especially for 3D input data. This submission is a mex implementation of a 3D/2D region growing algorithm. The region growing process is further accellereated by using priority queues for the neighbourhood pixels.
<br />Example usage (requires image processing toolbox):
<br />>> load mri
<br />>> RegionGrowing(squeeze(D), 10);
<br />This syntax opens a GUI for the selection of the seed point and visualizes the output. Fur further syntaxes see the header of the RegionGrowing.m file.</p>Christian Wuerslinhttp://www.mathworks.com/matlabcentral/profile/authors/4088533-christian-wuerslinMATLAB 8.2 (R2013b)Image Processing Toolboxfalsetag:www.mathworks.com,2005:FileInfo/503722015-04-01T15:33:50Z2015-04-01T15:46:08ZeditPlotApply functions to lines after having been plotted.<p>No more need to plot a new figure when you decide you want to change the units of your data! Or smooth it, displace it, or apply any function!
<br />Apply functions to lines after having been plotted. The app also remembers the original form of your figure so you can always reset it to that after having applied functions.
<br />Send plotted data to the workspace with a single button.
<br />Run the app after you have plotted your figures or else press 'refresh' so that the plot handles are passed to the app.</p>Chrishttp://www.mathworks.com/matlabcentral/profile/authors/2142963-chrisMATLAB 8.0 (R2012b)MATLABfalse