© Copyright 2000-2015 Source Code Online. Free Source Code and Scripts Downloads.
|Code Listing by Kevin Moerman|
Simple example of the use of the code spheregrid.m.
Finds the peak in the matlab example data PEAKS. Initially uses meshgrid to find a maximum then 'zooms in' and seeds points in a circle around the point found, it then find the maximum and continues the process.
This simple function creates a structure array containing coordinate and colour data for 3D images. The example below shows how the function allows one to use the patch function to plot the whole image or a selection of voxels in 3D. The CData is...
Converts a regular mesh defined by X,Y and Z into a regular triangulation. The output is patch data (triangles) in the faces d-deDUFd-deDt and vertices d-deDUVd-deDt format. The quadrilateral mesh faces are converted to triangles by splitting the...
Creates the PATCH data, the vertices (V) and faces (F) for
a given platonic solid (according to "n" see below) with radius (r)
n=1 -> Tetrahedron
n=2 -> Cube
This function generates patch data (faces d-deDUFd-deDt, vertices d-deDUVd-deDt and color data d-deDUCd-deDt) for 3D images. The patches are only generated for the voxels specified by the linear indices in d-deDUINDd-deDt. The variable...
This function allows plotting of colored 3D arrows by generating patch
data (faces d-deDUFd-deDt, vertices d-deDUVd-deDt and color data d-deDUCd-deDt). The patch data which
allows plotting of 3D quiver arrows with specified (e.g....
This function revolves a 2D polygon around the Z-axis. It copies the 2D data points evenly around the axis and produces a 3D data set suitable for input to MESHGRID and GRIDDATA to create a 3D surface.
Sub-triangulates the triangles defined by the patch format data F (faces) and V (vertices). Can be used to increase the density of triangulated data or to triangulate the icosahedron to create geodesic sphere...
All files and free downloads are copyright of their respective owners. We do not provide any hacked, cracked, illegal, pirated version of scripts, codes, components downloads. All files are downloaded from the publishers website, our file servers or download mirrors. Always Virus check files downloaded from the web specially zip, rar, exe, trial, full versions etc. Download links from rapidshare, depositfiles, megaupload etc not published.