Rank: 575 based on 254 downloads (last 30 days) and 3 files submitted
Personal Profile:

I'm an aerospace systems engineer in the Washington, D.C. region. I have a B.S. and an M.S. in Aerospace Engineering from NCSU, and I've been using Matlab in both work and school since 2004. I'm almost considering using it to do my taxes.


 

Watch this Author's files

 

Files Posted by John Fuller View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
25 Jan 2013 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller dcm, quaternion, euler angle, rotation, coordinate rotation, aerospace 158 37
  • 4.61538
4.6 | 13 ratings
12 Sep 2012 Screenshot Euler angle, DCM, Quaternion, and Euler Vector Conversion/Teaching GUI A GUI that helps users learn how Euler angles and other rotational data relate to one another. Author: John Fuller aerospace, euler angles, dcm, quaternion, euler, gui 73 2
  • 3.66667
3.7 | 3 ratings
01 Dec 2011 Screenshot Newton-Raphson Iterative Solver for Systems of Equations An N-R iterative root-finder for systems of N equations and N unknowns. Author: John Fuller newton, raphson, iterative, solver, systems of equations, root 23 2
  • 2.0
2.0 | 1 rating
Comments and Ratings by John Fuller View all
Updated File Comments Rating
27 Mar 2014 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller

Steve,
Honestly I just use "eps" for most purposes. 9 times out of 10 it doesn't constrain the problem too much. When it does fail, you can ratchet it higher for compliance.

Thanks,
John

22 Jan 2013 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller

Paolo,
I have incorporated a fix to address that bug, which is largely similar to your snippet. Thanks for catching this!

28 Aug 2012 KML Toolbox v2.7 Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more Author: Rafael Oliveira

17 Aug 2012 KML Toolbox v2.7 Create KML/KMZ files and view them in Google Earth. Supports 3D models, contours, overlays, and more Author: Rafael Oliveira

Rafael,
I get the following error when I run the quiver function example snippet:

k = kml('my kml file');

% Create a sample quiver plot in the kml file
[x,y] = meshgrid(-5:.2:5,-2:.15:2);
z = x .* exp(-x.^2 - y.^2) + y.*sin(x);
[px,py] = gradient(z,.2,.15);
k.quiver(5*x,10*y,8*px,8*py)

% Save the kml and open it in Google Earth
k.save;
??? Undefined function or variable 'id'.

Error in ==> kml.quiver at 61
target(i) = f.plot(long2,lat2, 'altitude',arg.altitude,...

Any thoughts?

11 Apr 2012 Vectorized Analytic Two Body Propagator (Kepler Universal Variables) Analytic propagation routine uses universal variables to solve a single formula for all orbit types Author: Darin Koblick

Downloaded but can't seem to unzip. Not sure if the file is corrupted, may want to check.

Comments and Ratings on John Fuller's Files View all
Updated File Comment by Comments Rating
16 Oct 2014 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller Daniel Lucena

What am I supposed to add instead of tol and ichk? I replaced with 0.0001 and 0 respectvely but it doesn't work. Thanks.

31 May 2014 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller Jing

it is very helpful

09 Apr 2014 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller spencer

Are the euler angles defined as "body-fixed" or "world-fixed"?

27 Mar 2014 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller John Fuller

Steve,
Honestly I just use "eps" for most purposes. 9 times out of 10 it doesn't constrain the problem too much. When it does fail, you can ratchet it higher for compliance.

Thanks,
John

27 Mar 2014 Function to Convert between DCM, Euler angles, Quaternions, and Euler vectors Function to convert rotation data between 4 types: DCM, Euler Angles, Quaternions, and Euler Param. Author: John Fuller Steve

Hey, thanks so much for sharing this code! It helps me a lot.
but I have one single question:
Can you give a recommendation for a tolerance value, for a conversion from rotationmatrix to Eulerangles?
Thanks!

Contact us