Window Coordinates code creates a window (with the Win32 API) and displays the coordinates of the windows client area in pixels in the form of X-Axis, Y-Axis.
The window can be moved, and the coordinates will be re-displayed with the new position.
RADIATION HEAT TRANSFER- SHAPE FACTOR CALCULATION (MECHANICAL ENGINEERING)
The file, sfactor.m ; (example) xxx = sfactor(a). calculates shape factor between two flat surfaces with arbitrary orientation and location.
distributes points around a given point on a through a normal determined plane and gives their coordinates back
Generally, in finite element models degree-of-freedom of all nodes be equals. But, a Heterosis finite element model has each of the corners are assumed to possess three degree-of-freedom (one displacement two rotation w,Qxx,Qyy) and centroidal...
This functions goal is to find a polygon which enclosures a user supplied mask. It's a kind of a complementary of Matlab poly2mask function. The difference is that all contour points are returned- without missing points for linearly related...
"Plot to Bitmap" allows the user to directly plot lines, text and filled polygons into an image, thus without taking a screen-shot (getframe).
This function is also useful if you want to convert a few coordinates describing a...
This routine will shade the area of a 2-D plot between two user defined vectors. Simply pass the two vectors, and their corresponding horizontal coordinates, select your fill color and transparency level and viola! You have a figure that is...
The function calculates the Global to Local coordinate transformation matrix for a beam in space. [x0,y0,z0] and [x1,y1,z1] are the coordinates of the beam ends. alpha is the twist over the axis perpendicular to the beam cross sectional area,...
Given a 3-d scalar function in terms of x,y,z the fielder.m function returns matrix of 3-d coordinates and uses the surf() function to create a 3-d plot of the surface. The field_test_script m-file can be executed to make using the function easier...
A wordpress widget that retrieve images from Panoramio API.
HOW TO
To display the widget, add a custom field to a post called "panoramio". The value of panoramio should be the coordinate to the area that you want to...
ECEF2LLA - convert earth-centered earth-fixed (ECEF) cartesian coordinates to latitude, longitude, and altitude.
USAGE: [lat,lon,alt] = ecef2lla(x,y,z)
lat = geodetic latitude (radians) lon = longitude (radians)
dat2dxf is a small command line tool to convert the Selig xy formated airfoil coordinates to dxf output tool to t;
Simple widget to get the coordinates of a point in a figure or axis.
Just select the current figure and type getpoint. A button with two fields will appear in the upper right corner. click the button, then the point and the coordinates...
USAGE ===== This function enables a 3D array to be displayed using a patch surface mesh. To plot a 3D logical array, the function is called using the following syntax: >> hpat =...
[DISTANCES PROJ_POINTS]=DISTANCE2LINE(POINTS,LINE_SEG)
This function distance2line computes minimum euclidean distances (vertical distances) of "points" (nxm matrix which m=2,3) to a "line" (1xm which m=2,3). The...
Conversion routines to take a surface (a function z of (x,y) or (theta,r)) and convert this into a solid; much as meshz does, but a little more useful for outputting as an STL for frabrication in a 3D printer. There are two cases, one in Cartesian...
Assemble Linear Stiffness Matrix for frames. for using this you assign Coordinates of nodes (NC) and define connectivity between the nodes in your finite elements models.
This essentially adds support for map projections to function imtransform from the Image Processing toolbox.
The demo demonstrates the reprojection of a geotiff, from geographic latitude and longitude to UTM coordinates.
If...
usage: -------------------------------------------------------- [cc] = chaincode(b,u)
INPUT: -------------------------------------------------------- b - boundary as np-by-2 array unwrap - (optional,...
This function creates a 3D stacked block drawing of a binary mask by drawing square patch objects at each face of the mask which borders empty space. It is similar to isosurface, and useful for visualizing a 3D binary mask in its entirety (with no... |