
Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region 1.0 File ID: 85430 


 Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region 1.0 License: Shareware File Size: 10.0 KB Downloads: 6
Submit Rating: 



Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region 1.0 Description 

Description: 03 Mar 2012 (Updated 06 Mar 2012)
Function to generate a listing of the coordinates for a specified Cartesian space. A = ENUM_COORDS(X) returns the matrix elements of a 2D region, where X contains a 4element vector, X=[x y width height], representing the bounding box containing the set of 2D coordinates.
A = ENUM_COORDS(X,Y) returns the matrix elements of a 3D region, where both X and Y are 4element vectors representing two bounding boxes, X =[x y width height] and Y =[x z width depth] which overlap to specify a 3D region.
With scalar inputs: A = ENUM_COORDS(N,M,P) returns a matrix of size [m*n*p,3] containing the integer coordinate values for the matrix elements of the 3D region.
A = ENUM_COORDS(N,M) returns a matrix of size [m*n,2] containing integer coordinate values for all matrix elements of the 2D region. 
More Similar Code 

A variation of Matlab's cart2sph, that transforms a vector of Cartesian coordinates (East, North, Up) to radar coordinates (Range, Azimuth, Elevation). Note the different definition of radar coords vs. spherical coords, which require this different function (see exact definitions within the help comment).
input format #1: [...] = xyz2rae(x,y,z) input format #2: [...] = xyz2rae(xyz) output format #1: [range, azimuth,...
DB Object builder is a simple tool which can generate a lot of Java source file for you. Each Java source file map to a table in your database. It is like Hibernate, but it is smaller than it and do not use any complex XML configuration files.
Program to generate a vector that store the values of pixel of an image an saved as a file .lib which must to be added to a project that use the image_lib for DSK 6711/6211
% Date Rev 0.0 january 2004
A Collection of Useful C++ Classes for Digital Signal Processing This project has been moved to here: http://code.google.com/p/dspfilterscpp/
A set of command line tools for generating onthefly build environments for Microsoft's Nmake, Build, and VCBuild commands.
A powerful Java Template Engine, great for building HTML or XML docs. Chunk can handle many other needs and situations as well. Intag filters & default values, multiple snippets per file, layered themes, macros, conditional includes,...
NUMREGPOLY Number of Intersection Points and Regions Made By The Diagonals of a Regular Polygon [A,B,I,R]=numregpoly(N) for integer n returns the following: A: Vector of number of points inside the regular ngon other than...
This recipe shows a way to generate a list of all strings (in this case, string=list of symbols) of a given alphabet having a specified length; by using list comprehensions.
UPDATE: The case for alphabet length = 1 is fixed.
Using this script, you can generate a set of data regarding Sun Azimuth Positions at various instants of time for any location on Earth. This data can be used in many applications, like, in determination of orientation of any plane's azimuth from...
excelcolumn converts a vector of integers > 0 and <= 256 into excel column head characters and, conversely, an array or cell array of excel column head strings into the equivalent integer. 
User Review for Generate a vector of Cartesian integer coordinates for a 1, 2, or 3D region 
