Code covered by the BSD License  

Highlights from
Global to Local Coordinate Transformation Matrix

3.5

3.5 | 2 ratings Rate this file 11 Downloads (last 30 days) File Size: 1.69 KB File ID: #9586

Global to Local Coordinate Transformation Matrix

by Paulo J. Paupitz Goncalves

 

11 Jan 2006 (Updated 28 Feb 2009)

T = trans_matrix_beam3d(x0,y0,z0,x1,y1,z1,alpha)

| Watch this File

File Information
Description

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, usually set to 0.

MATLAB release MATLAB 7.1.0 (R14SP3)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
12 Jan 2006 urs (us) schwarz

sin(alfa) and cos(alfa) are computed repeatedly; why not create re-usabel variables, eg,
sina=sin(alfa);
cosa=cos(alfa);
for the matrix
just a thought
us

02 Aug 2007 F. Moreira

Very Usefull. Thanks

30 Jun 2008 Eshwar Pawar

I'm very very thankful to u !!!

30 Apr 2011 Aeshan

I was wondering if you could do the same thing for a set of joint angles for a long list of coordinates

Please login to add a comment or rating.
Updates
24 Jan 2006

File Updated

17 Mar 2006

File updated

21 Mar 2006

File Updated

16 Nov 2007

Description changed.

28 Feb 2009

Description updated.

Tag Activity for this File
Tag Applied By Date/Time
linear algebra Paulo J. Paupitz Goncalves 22 Oct 2008 08:12:11
coordinate Paulo J. Paupitz Goncalves 22 Oct 2008 08:12:11
transformation Paulo J. Paupitz Goncalves 22 Oct 2008 08:12:11
local Paulo J. Paupitz Goncalves 22 Oct 2008 08:12:11
global Paulo J. Paupitz Goncalves 22 Oct 2008 08:12:11
beam Paulo J. Paupitz Goncalves 22 Oct 2008 08:12:11
transformation Ferdie 14 Sep 2010 04:30:55
coordinate Ferdie 14 Sep 2010 04:31:02
transformation Johanna 24 May 2011 09:40:31
twist Hakim 04 Jun 2011 00:04:20
tilt Hakim 04 Jun 2011 00:04:20

Contact us at files@mathworks.com