File Exchange

image thumbnail

Fly a 747 using MATLAB

version 1.1.0.1 (113 KB) by Simulink Dude
Animate the motion of a 747 along a helical path all from within MATLAB.

8 Downloads

Updated 01 Sep 2016

View Version History

View License

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:

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

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

Cite As

Simulink Dude (2021). Fly a 747 using MATLAB (https://www.mathworks.com/matlabcentral/fileexchange/26123-fly-a-747-using-matlab), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (6)

Gastive Carlson

I only have a category that is called "General Purpose" in my Object library. I couldn't find the "transportation(air)" library, as demonstrated from your training video (http://www.mathworks.com/videos/fly-a-747-with-matlab-68730.html).
Where can I find the transportation (air) library, hence the 747

Ali Darwich

hallo,where can I find this Library (Transportation)
thanks

gabriel

Hi, where can I find this 747 model from my V-Realm Builder 2.0? I only have a category that is called "General Purpose" in my Object library. I couldn't find the "transportation(air)" library, as demonstrated from your training video (http://www.mathworks.com/videos/fly-a-747-with-matlab-68730.html).

Thanks.

P/S Nice work!

Mr Smart

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

randa

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

thnx

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!