Skip to content
Snippets Groups Projects
Commit 54115e92 authored by Arthur Reis's avatar Arthur Reis
Browse files

v 0.2.6 Fixed time series length discrepancies, reworked Satellite class

parent 898c4417
Branches
No related tags found
No related merge requests found
Showing
with 7 additions and 6 deletions
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -10,7 +10,7 @@ properties
end
properties(Dependent)
vel_orb
orbitalVelocity
end
methods
......@@ -20,19 +20,20 @@ methods
end
function v = get.vel_orb(obj)
v = orbitalvelocity(obj.altitude);
function v = get.orbitalVelocity(obj)
v = sqrt(3.986e14/(obj.altitude+6400)*1e-3);
end
function acc = typicalDragAcc(obj)
%UNTITLED Summary of this function goes here
% Detailed explanation goes here
rho = Satellite.harrispriester(obj.altitude);
acc = 0.5*rho*obj.Cd*obj.area*obj.vel_orb^2 /obj.mass;
acc = 0.5*rho*obj.Cd*obj.area*obj.orbitalVelocity^2 /obj.mass;
end
end
methods (Static)
function rho = harrispriester(h)
v = [100 497400.0 497400.0
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment