Code covered by the BSD License  

Highlights from
Shark

4.2

4.2 | 5 ratings Rate this file 23 Downloads (last 30 days) File Size: 434.67 KB File ID: #1207
image thumbnail

Shark

by Giampiero Campa

 

31 Dec 2001 (Updated 07 Feb 2007)

Nonlinear 6DOF Model of an Underwater Vehicle

| Watch this File

File Information
Description

Shark is a detailed nonlinear model of an underwater vehicle for MATLAB 5.3 and later (tested on 6.1 as well).

It has a Simulink interface but the source code consists in 10 MATLAB functions, each one being well documented in an enclosed PDF report.

It is possible to modify the functions to simulate different kind of vehicles and, in general, this tool can be seen as an effective way to map the equations of a mechanical system to a working simulation in the MATLAB and
Simulink environment, especially in those cases where the extensive use of a matrix-based formulation in the modeling makes MATLAB (rather than Simulink) the preferred coding environment.

NOTE: After downloading and unzipping the file "shark.zip", please follow the istructions in the file "contents.m".

Giampy, Dec 2001

Required Products Simulink
MATLAB release MATLAB 5.3.1 (R11.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (5)
06 Mar 2003 farzin radkani  
30 Dec 2003 Dionnys Moran  
15 Sep 2004 Kulic Ranka

I wuld like to check if it is possible to apply behavioral cloning to control vehicle to avoid obstacles.

29 Mar 2005 hugo ferreira

Nice work.
www.dee.isep.ipp.pt/~e980933
www.lsa.isep.ipp.pt
www.fe.up.pt/~lsts

24 May 2005 Gerardo Acosta

There is a problem in the computation of the yaw angle: when computing the tg yaw=Deltay/Deltax, the sign of Deltay is wrong. Then when the yaw goes from 360º to 0º or vice-versa, there is a sudden change in the speed sign, yielding the strange shape of a cardioid in the trajectory (seen from top) instead of a circle when the rudder is fixed with a constant angle.

Please login to add a comment or rating.
Updates
12 Mar 2003

The figures in the PDF manual now have a better resolution.

02 Jun 2003

Updated Signature and info.xml file.

12 May 2005

Renamed everything lowercase

12 May 2005

Removed extra dir info from zip file,
and corrected a small bug.

07 Feb 2007

Changed info.xml file to avoid annoying messages within the last matlab versions.

Tag Activity for this File
Tag Applied By Date/Time
simulation Giampiero Campa 22 Oct 2008 06:40:04
underwater Giampiero Campa 22 Oct 2008 06:40:04
marine Giampiero Campa 22 Oct 2008 06:40:04
submarine Giampiero Campa 22 Oct 2008 06:40:04
vehicle Giampiero Campa 22 Oct 2008 06:40:04

Contact us at files@mathworks.com