View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
MATLAB Simulation of variable-mass rigid-body 6DOF

4.0 | 5 ratings Rate this file 9 Downloads (last 30 days) File Size: 2.4 KB File ID: #3368 Version:

MATLAB Simulation of variable-mass rigid-body 6DOF


Stacey Gage (view profile)


30 Apr 2003 (Updated )

Calculate aircraft variable-mass rigid-body six-degrees-of-freedom equations of motion using MATLAB

| Watch this File

File Information

% SIXDOFVM Calculate aircraft variable-mass rigid-body six-degrees-of-freedom
% equations of motion using MATLAB ODE45 solver.
% =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% Inputs:
% =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% Forces = 3x1 vector of forces in body coordinates
% Moments = 3x1 vectory of moments in body coordinates
% dMass = mass rate of change for the aircraft
% dInertia = 3x3 Inertia Tensor matrix rate of change
% tarray = time series vector
% Ipos_i = 3x1 vector of initial position
% Ivel_b = 3x1 vector of initial velocity (body)
% Irates_b = 3x1 vector of initial body rates
% Imass = initial mass of aircraft
% IInertia = initial 3x3 Inertia Tensor matrix
% Ieuler = 3x1 vector of initial euler angles
% =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% Outputs:
% =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
% t = simulation time
% y(1:3) = body rates
% y(4:6) = velocity in body coordinates
% y(7:9) = position in body coordinates

Required Products MATLAB
MATLAB release MATLAB 6.5 (R13)
MATLAB Search Path
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (9)
05 Jan 2017 John Brewer

13 Nov 2014 Matthew

Are the errors fixed (?)


19 Apr 2012 next

next (view profile)


Comment only
10 Feb 2011 Sebastian


thank you very much fro your model. For some reason I always get the error:
Less than the minimum 5 inputs, when I use your examples.

Maybe I am just stupid but what do I do wrong?

Thanks in advance

Comment only
03 May 2009 Mai samy

Hi friends,
I have been investigating on the applicability of power line communications techniques. I want to simulate the plc system in MATLAB (m file).The simulation includes FSK and PSK and OFDM modulation and demodulation , error control coding , powerline channel and the noise over it. I have some problems with these simulations . I want to know if you have any MATLAB files (m files) about powerline background and impulsive noise. Thanks.

Comment only
31 Oct 2007 Andry Ivanovich

09 Jan 2007 nipal sad

hi i am master student , please i need to help me as soon as possible on design power line modem that contains simulation design on matlab

Comment only
02 Jan 2007 Alireza Kheradmandi


04 Feb 2005 sasan sarmad

i am am master student in dynamic of flight
thank you for your help

12 Nov 2014 1.1

update to MATLAB Toolbox File format

01 Sep 2016

Updated license

Contact us