Search
New Code
EaseClouds Virtual File System SDK 2.1.1.2
dbForge SQL Decryptor 3.1
Fortune Gigs Script 2.03
Pricing Plans and Subscription Payment Script 1.0
PHP Image Resize Script 1.0
iTech Book Store Script 2.03
dbForge Event Profiler for SQL Server 1.3
iTech Question Answer Script 2.03
GZ Multi Hotel Booking System 1.0
iTech Video Tutorial Script 2.03
Uber App Clone 1.0
TeeChart NET for Xamarin.Forms 2017
JavaScript Framework Shield UI 1.7.33
SentiVeillance SDK Trial 6.0.171442
Instacart Clone 1.0
Top Code
PHP Image Resize Script 1.0
Jango Clone Script 1.0
Best Spotify Clone 1.0
Get Random Record Based on Weight 1.0.0
Travel Portal Script 9.29
Magento Product Designer 1.0
OFOS - Just Eat Clone Script 1.0
PrestaShop Upload Images Module 1.2.1
Trading Software 1.2.4
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Sine Wave Using JavaFX 1.0
ICPennyBid Penny Auction Script 4.0
Code Listing by Kevin Moerman

Code 1-8 of 8   






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...



function [V,F]=platonic_solid(n,r)

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....



[X,Y,Z]=polyrevolve(x,z,n)

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.



[Fs,Vs]=subtri(F,V,n)

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...