Code covered by the BSD License  

Highlights from
Fly a 747 using MATLAB

5.0

5.0 | 1 rating Rate this file 27 Downloads (last 30 days) File Size: 113 KB File ID: #26123
image thumbnail

Fly a 747 using MATLAB

by

 

16 Dec 2009 (Updated )

Animate the motion of a 747 along a helical path all from within MATLAB.

| Watch this File

File Information
Description

In this demo, we walk through the steps of animating the 3D motion of a 747 aircraft given a helical trajectory described in parametric form. The challenge is to make the aircraft move such that its axis of symmetry is always pointing along the velocity vector. By reducing the problem to circular motion, we devise a strategy by which we are able to do the same. However, when we extrapolate the solution to the actual trajectory, we see that the aircraft does a "mysterious" 360 degree flip at well-defined points in the trajectory much like the manner in which the pilot did for the first test flight for the 747.

Can you figure out the loophole in this strategy and correct the code to eliminate this flip?

The video that walks through the steps of building this demo from scratch are here under the "Aerospace Application Examples" section:

http://www.mathworks.com/products/3d-animation/demos.html

Several enhancements have been made to the demo. See this submission:

http://www.mathworks.com/matlabcentral/fileexchange/27986

Acknowledgements

This file inspired International Flight Route Planning Simulator Using Aerospace Blockset.

Required Products Simulink 3D Animation
MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (4)
20 Oct 2011 Mr Smart  
10 Oct 2010 Simulink Dude

You can now follow me on Twitter:

http://twitter.com/simulinkdude

01 Jul 2010 Simulink Dude

Please take a look at enhancements made to this demo here:

Fly a 747 with MATLAB: Adding Realism, Quaternions, Trajectory Tracing:

http://www.mathworks.com/matlabcentral/fileexchange/27986

13 Mar 2010 randa

can I change the design of the airplane, ex put some airline logo

thnx

Updates
01 Jul 2010

Updated description to point to new submissions:

http://www.mathworks.com/matlabcentral/fileexchange/27986

Contact us