Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
EarthLaunch/geometry_test.m
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
20 lines (18 sloc)
451 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clear | |
%help see the data folders | |
mfilename('fullpath'); | |
[PATH, NAME, EXT] = fileparts(mfilename('fullpath')); | |
cd(PATH); | |
cd; | |
%Iterate over combinations of things. | |
V = 450; %m^3 | |
Diameters = [9.73,10,11]; %diameter values to be tested (m) | |
es = [10 15 20]; %half-angle values (degrees) | |
%iterate over half angles | |
for e=es | |
theta = 20; | |
%iterate over Base Diameters | |
for D_0 = Diameters | |
EarthLaunch(theta, e, D_0, V) %run sim | |
end | |
end |