Input: x,y - a set of points in 2 column vectors.
Output: selx,sely,indexnr - a set of selected points in 3 column vectors
Note: After the scatter plot is given, selection by mouse is started after any key press. This is done to be able to ZOOM or CHANGE AXES etc. in the representation before selection by mouse. Encircling is done by pressing subsequently the LEFT button mouse at the...
Just finished this after a couple of frustrating days working with COMSOL, where eventually I realized I couldn't get my model working and, to make it worse, I couldn't even find a way to export the geometry data to try another program.
Changes the color of each curve in current axis to different color. Uses 6 different color which are looped. All curves with the property of color are changed.
This function provides some additional propoerties to the standard boxplot display. The basic old syntax of boxplot is retained, for compatibility.
The primary purpose is to allow for GROUPED boxplots, or subplots, of color codes...
This example has been developed to add capabilities in ROI analysis: add, delete, change location, translation, etc.
the ROItool.m is a GUI with the different step.
the ROItoolmain contains all the commands in a script so you can run it...
This demo based on "Kailup Tan" works about handwriting recognition this version is more compatible and support Farsi/Arabic digit,
u can take some change for add other handwriting pattern it's so easy too use taste it
A simple gui design shows the ability to make dynamic plotting by changing the value of slider which produce a change in the circle radius.
I got fed up of having to keep writing
"set(figureHandle ,'windowStyle','docked')" so I wrote these two functions.
Default behaviour is defined and help is provided.
As usual feedback and...
Mathworks really should support the 3D mouse by default, but until they do I created a simple hack to allow one to use a 3D mouse to rotate a figure.
The function connects to the mouse driver COM object and uses a timer function to poll...
Combines two EPS files into a single EPS file. This function is useful when generating 3D or transparent figures that require Matlab's OpenGL renderer and high-quality results are desired. This renderer will not output vector axes or text...
Euler spiral is generated by evaluating Fresnel integral.
By changing some of the parameters different types of
spirals are generated.This script can generate 18 different spirals.
When this script is executed a list dialog...
Function uses algorithm from Dan Sunday internet site
L1, L2 includes two points in matrix of 2*n
where n are dimensions (3 in 3D).
d - shortest distance between two...
Icons Toolbox is a set of tool that enables you to simple create MATLABdlTÂ« format icons from BMP, PNG, JPEG or GIF images and manipulate these icons in order to incorporate them in a GUI.
There are 3 tool for the moment:
This is engineering software for estimating solar parameters like zenith angle and solar collector parameters. You can also use it to design solar software.
This zip-file contains c++ wrapper functions for the Microsoft Kinect, OpenNI libary.
To compile the code to mex-files use the Microsoft Visual Studio (Express) or MacOS/Linux Gcc C++ compiler and install:
- Unstable OpenNI...
This function OPENSURF, is an implementation of SURF (Speeded Up Robust Features). SURF will detect landmark points in an image, and describe the points by a vector which is robust against (a little bit) rotation ,scaling and noise. It can be used...
The proposed raytracer allows to create simple synthetic scenes and render them from different camera positions. Some properties of the objects (position, orientation, size) can be defined as constants or as functions of time. The actual engine...
CUTPOLYGON - Split a 2D polygon by a line, and remove one of the sides
Use CUTPOLYGON to cut alias intersect alias split alias slice a polygon P
(being a series of connected X,Y coordinates) with a line L (defined by
This library contains helper functions to read image frames into matlab from Video file using DirectShow. This library has borrowed codes from Ashwin Thangali's "DirectShow (DirectX) based AVI file reader", and it can read multiple video...
Based upon the suggestions in this blog article I have created my own preferred versions of this functions: http://blogs.mathworks.com/pick/2009/11/27...es-and-radians/