plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
Space-at-VT/CubeSatRPO-master
newSatellite.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/newSatellite.m
38,087
utf_8
504be40e63fc280d09ae06194aac1dbd
%% New Satellite classdef newSatellite < handle %% Default properties of a basic 6u cubesat properties %% Model name = 'CubeSat' %Satellite name EOM = 'LERM' %Relative motion model mode = 'approach' %Satellite objective color = 'b' ...
github
Space-at-VT/CubeSatRPO-master
MainRPOResults.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/MainRPOResults.m
2,277
utf_8
80074763056bcde88db8c14a7d657618
function MainRPOResults close all V = (1:25); hold on grid on xlabel('Constrained Volume, m^3') ylabel('Fuel Used, g') for ii = 1:length(V) try deputy = RPO(V(ii),0); fuel(ii) = deputy.fuel(1)-deputy.fuel(end); catch fuel(ii) = NaN; end plot(V(ii),fuel(ii)*1e3,'ob') drawnow...
github
Space-at-VT/CubeSatRPO-master
LERM.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/LERM.m
1,545
utf_8
01f120dfc3ce1a637e1f95e542685cdb
function A = LERM(scenario,t) % Orginal Author: Andrew C. Rogers mu = scenario.mu; a = scenario.a; ecc = scenario.ecc; nu = scenario.nu; % Time varying coefficients and solution to Kepler's equation n = sqrt(mu/a^3); t0 = nu2t(n,nu,ecc); M = n.*(t+t0); [EccAnom,~] = kepler(M,ecc); f = 2.*atan(sqrt((1+ecc)./(1-ecc)).*t...
github
Space-at-VT/CubeSatRPO-master
satellite.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/satellite.m
7,767
utf_8
b6f82b4e075800b647030f24fe8faa9e
classdef satellite %satellite defines the properties of a satellite as well as its trajectory % relative to the origin % Default properties of a basic cubesat properties name = '' EOM = 'HCW' mode = 'approach' color = 'b' umax = 0.25 ...
github
Space-at-VT/CubeSatRPO-master
mainAIAA2.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/mainAIAA2.m
964
utf_8
d7da8c54a984db7ba139155191410ac6
function mainAIAA2 clear,clc close all scenarioData = newScenario; tspan = scenarioData.TP*(0.05:0.05:2); format shorte % Sweep % dv = zeros(1,length(tspan)); % for ii = 1:length(tspan) % dv(ii) = maneuver(tspan(ii)); % end % % figure(1) % plot(tspan/scenarioData.TP,dv,'k','linewidth',1.5) % grid on % xlabel('Ti...
github
Space-at-VT/CubeSatRPO-master
simpleEMU.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/simpleEMU.m
5,151
utf_8
d82ec28b1670432d748cec5793dff358
%% Bare bones version of Energey Management Unit % Calculates the state of the charge of a battery given power generation % from STK and power usage. function simpleEMU(fileName) % Battery parameters SOC = 0.5; % State of charge (0-1) nSeries = 1; % Number of modules nPacks = 2; ...
github
Space-at-VT/CubeSatRPO-master
phaseManeuver.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/phaseManeuver.m
3,288
utf_8
388d8fd56f69df71bf175e727f82306f
function phaseManeuver() clc close all scenario = newScenario; scenario.a = 7000e3; tf = scenario.TP; scenario.tmax = tf; scenario.T = tf; scenario.dt = 10; scenario.ecc = 0.0; sat = newSatellite; sat.umax = 0.25; sat.EOM = 'LERM'; sat.x = 0; sat.y = -500; sat.z = -200; sat.vy = 0; x0 = 50; Xf =...
github
Space-at-VT/CubeSatRPO-master
satellite.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/Archive/satellite.m
7,545
utf_8
2f79f6e4962264e1b25f153270d292f1
classdef satellite %satellite defines the properties of a satellite as well as its trajectory % relative to the origin % Default properties of a basic cubesat properties name = '' EOM = 'HCW' mode = 'approach' color = 'b' umax = 0.25 %N ...
github
Space-at-VT/CubeSatRPO-master
quaterionsTest.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/Archive/quaterionsTest.m
1,704
utf_8
64368bca009b864fcaa6c62b50daace5
function quaterionsTest clear,clc close all tf = 500; dt = 1; w0 = [0.1,0,0]'; q0 = [0,0,0,1]'; y0 = [w0;q0]; I = 20/12*(0.3^2+0.3^2)*[1,1,1]'; I = 0.0225*[1,1,1]'; tspan = 0:dt:tf; [t,y] = ode45(@(t,y)quaternions(t,y,I),tspan,y0); w = y(:,1:3); q = y(:,4:7); figure for ii = 1:size(q,1) qi = q(ii,1:3)'; q4...
github
Space-at-VT/CubeSatRPO-master
RPO_MILP_MPC.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/Archive/ProxOps_CollisionAvoidance/RPO_MILP_MPC.m
25,388
utf_8
5be851df56b7be274c459e08b37a1d98
%% RPO_MILP_MPC(p0,v0,m) is a simulation of a 6U cubesat in proximity operation % around a larger chief satellite. Model predictive control is used in % conjunction with mixed integer linear programming to generate the cubesat % trajectory optimizing primarily for fuel once the desired target position % is achieved. T...
github
Space-at-VT/CubeSatRPO-master
RPO_MILP_MPC.m
.m
CubeSatRPO-master/CubeSatProxOps/oldFunctions/ProxOps_CollisionAvoidance/RPO_MILP_MPC.m
26,184
utf_8
de3f9d21be9c342e93a11495a229963e
%% RPO_MILP_MPC(p0,v0,m) is a simulation of a 6U cubesat in proximity operation % around a larger chief satellite. Model predictive control is used in % conjunction with mixed integer linear programming to generate the cubesat % trajectory optimizing primarily for fuel once the desired target position % is achieve...
github
Space-at-VT/CubeSatRPO-master
buildSatelliteMPC_V3.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/buildSatelliteMPC_V3.m
7,490
utf_8
f8b8adfc8224d5a48d1bc315fa1c517c
function [TrackingController,AttitudeController] = ... buildSatelliteMPC_V3(Nt,At,Bt,Ct,Qt,Rt,Umax,Shuttle,... maxTorque,Arot,Brot,Nr,Qr,Rr,timeHold,p,options) if p == 1 fprintf('Using 1-norm Convex-Modulated Model Predictive Control\n\n') [TrackingController] = ... BuildMPC_Trajectory_T...
github
Space-at-VT/CubeSatRPO-master
buildSatelliteMPC_SemivarU_V2.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/buildSatelliteMPC_SemivarU_V2.m
5,240
utf_8
7ec841da1cdaa795f37b39bc695269ff
function [TrackingController,AttitudeController] = ... buildSatelliteMPC_SemivarU_V2(Nt,At,Bt,Ct,Qt,Rt,Umax,Umin,Shuttle,... maxTorque,Arot,Brot,Nr,Qr,Rr,timeHold,p,options) if p == 1 [TrackingController] = ... BuildMPC_Trajectory_Tracker_OneNorm_SemivarU(Nt,At,Bt,Ct,Qt,Rt,Umax,Umin,Shuttle,options);...
github
Space-at-VT/CubeSatRPO-master
TrackTraj_MPC_with_Thrust_Torques.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/TrackTraj_MPC_with_Thrust_Torques.m
6,288
utf_8
772651b974defebd5d482a19c4809398
function [X,err,yaw,pitch,roll,yawdot,pitchdot,rolldot,Q,Thruster,Torques,deltaVTracking,mTrack,... Xqt,Uqt,rotEnergy,tranEnergy,trajDiag,attDiag,trajObj,attObj,punt,pctPunt] = TrackTraj_MPC_with_Thrust_Torques(... Time,d,Nt,ref,TrackingController,AttitudeController,nx,nu,ny,ntau,... Nsim,Isp,g0,m0,Ts,Im...
github
Space-at-VT/CubeSatRPO-master
buildSatelliteMPC_SemivarU_V4.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/buildSatelliteMPC_SemivarU_V4.m
5,466
utf_8
db7ed571ca35a9f49ccb5f9676bd26b6
function [TrackingController,AttitudeController] = ... buildSatelliteMPC_SemivarU_V4(Nt,At,Bt,Ct,Qt,Rt,Umax,Umin,Shuttle,... maxTorque,Arot,Brot,Nr,Qr,Rr,timeHold,p,options) if p == 1 [TrackingController] = ... BuildMPC_Trajectory_Tracker_OneNorm_SemivarU(Nt,At,Bt,Ct,Qt,Rt,Umax,Umin,Shuttle,options);...
github
Space-at-VT/CubeSatRPO-master
TrackTraj_MPC_with_Thrust_Torques_Modulated.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/TrackTraj_MPC_with_Thrust_Torques_Modulated.m
6,288
utf_8
543029391557ddb3abf748e35a080f89
function [X,err,yaw,pitch,roll,yawdot,pitchdot,rolldot,Q,Thruster,Torques,deltaVTracking,mTrack,... Xqt,Uqt,rotEnergy,tranEnergy,trajDiag,attDiag,trajObj,attObj,punt,pctPunt] = TrackTraj_MPC_with_Thrust_Torques_Modulated(... Time,d,Nt,ref,TrackingController,AttitudeController,nx,nu,ny,ntau,... Nsim,Isp,g...
github
Space-at-VT/CubeSatRPO-master
TotalFuel.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/TotalFuel.m
427
utf_8
4ed56bb4ed80a60d913df8c4b37dfe96
function [fuelCost,dv,mt] = TotalFuel(Time,U,m0,Isp,g0,dt) fuelCost = 0; for ii = 1:length(Time) fuelCost = fuelCost + norm(U(:,1),1); end mt = zeros(1,length(Time)); mt(1) = m0; for ii = 1:length(Time)-1 ukn(ii) = norm(U(:,ii)); mt(ii+1) = mt(ii) + dt*(-ukn(ii)/(Isp*g0)); end dv = deltaV(m0,...
github
Space-at-VT/CubeSatRPO-master
attitudeInitialize.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/attitudeInitialize.m
1,240
utf_8
051c553144c280fdc68f15ece69e8787
function [Q0,W0] = attitudeInitialize(yaw,pitch,roll,yawRate,pitchRate,rollRate,randflag) if randflag == 1 yaw = (yaw + 1e0.*randn(1,1))*pi/180; pitch = (pitch + 1e0.*randn(1,1))*pi/180; roll = (roll + 1e0.*randn(1,1))*pi/180; yawRate = (yawRate + 1e-1.*randn(1,1))*pi/180; pitchR...
github
Space-at-VT/CubeSatRPO-master
TrackTraj_MPC_with_Thrust_Torques_V2.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/TrackTraj_MPC_with_Thrust_Torques_V2.m
6,328
utf_8
2b9a5cb25bed2198be54fb8b4cf2963e
function [X,err,yaw,pitch,roll,yawdot,pitchdot,rolldot,Q,Thruster,Torques,deltaVTracking,mTrack,... Xqt,Uqt,rotEnergy,tranEnergy,trajDiag,attDiag,trajObj,attObj,punt,pctPunt] = TrackTraj_MPC_with_Thrust_Torques_V2(... Time,d,Nt,ref,Uk,TrackingController,AttitudeController,nx,nu,ny,ntau,... Nsim,Isp,g0,m0...
github
Space-at-VT/CubeSatRPO-master
getCoupledSystemJacobians.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/getCoupledSystemJacobians.m
1,219
utf_8
7b449e248444246eeabb2f3c72daef57
function [A,B] = getCoupledSystemJacobians(Imat,m,n,rho) r1x = rho(1); r1z = rho(2); r2x = rho(3); r2y = rho(4); r3y = rho(5); r3z = rho(6); r4y = rho(7); r4z = rho(8); r5x = rho(9); r5y = rho(10); r6x = rho(11); r6z = rho(12); Ahcw = getHCW_Amat(n); [Aquat,Bquat] = getAmat_Quat(n,Imat); Bhcw = [ze...
github
Space-at-VT/CubeSatRPO-master
TrackTraj_MPC_with_Thrust_Torques_Modulated_V2.m
.m
CubeSatRPO-master/ARsatcodes/MPC_MILP/TrackTraj_MPC_with_Thrust_Torques_Modulated_V2.m
6,324
utf_8
8a764e89e31f030e8615d6c71ec2d65b
function [X,err,yaw,pitch,roll,yawdot,pitchdot,rolldot,Q,Thruster,Torques,deltaVTracking,mTrack,... Xqt,Uqt,rotEnergy,tranEnergy,trajDiag,attDiag,trajObj,attObj,punt,pctPunt] = TrackTraj_MPC_with_Thrust_Torques_Modulated_V2(... Time,d,Nt,ref,Uk,TrackingController,AttitudeController,nx,nu,ny,ntau,... Nsim...
github
Space-at-VT/CubeSatRPO-master
TwoBodyOrbit.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryTracking/TwoBodyOrbit.m
19,885
utf_8
2b36802784ec7f81cf6c1c967eb3dc3b
classdef TwoBodyOrbit < handle % This is a basic two-body orbit perturbed by J2. The user is required only % to input the initial orbit based on Kepler elements, a few physical % parameters, and the total time of flight. % % Author: Andrew Rogers, Ph.D. % Date: 29 March 2016 % ...
github
Space-at-VT/CubeSatRPO-master
MPCTracking_HCW.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryTracking/MPCTracking_HCW.m
6,327
utf_8
c92846e93b9e8487b039cf691ef204b1
classdef MPCTracking_HCW < handle % Dylan - % This is good, but it doesn't actually have the simulation in it. % Needs commets too. properties X U T Ref URef TRef optimalObjective N % Horizon dt ny Q R M...
github
Space-at-VT/CubeSatRPO-master
NonlinearFormationFlyingEquations.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/LERM_NERM_Sims/NonlinearFormationFlyingEquations.m
1,884
utf_8
8f29b54b8eca0cde57e4ea9b16de0817
function DX = NonlinearFormationFlyingEquations(t,X,mu,a,ecc) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This code is provided 'as-is' for use with AOE 5234: Orbital Mechanics. % Numerical accuracy is guaranteed only to within the bounds specified by % The MathWorks Inc. % % A...
github
Space-at-VT/CubeSatRPO-master
BrouckeSTM.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/LERM_NERM_Sims/BrouckeSTM.m
3,804
utf_8
a4b4260081b1b180a96c84b19c6ded50
function Phi_Broucke = BrouckeSTM(tspan,mu,a,ecc,omega) % Dylan - Needs commenting and double checking.. n = sqrt(mu/a^3); eta = sqrt(1-ecc^2); p = a*(1-ecc^2); t0 = tspan(1); Phi_Broucke = zeros(6,6,length(tspan)); for ii = 1:length(tspan) dt = tspan(ii)-t0; [r,~,theta,~,~,EccAnom] = polarParams(d...
github
Space-at-VT/CubeSatRPO-master
LinearFormationFlyingEquations.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/LERM_NERM_Sims/LinearFormationFlyingEquations.m
1,698
utf_8
8179c3b60cbc261bdb6556b3d50f36da
function DX = LinearFormationFlyingEquations(t,X,mu,a,ecc) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This code is provided 'as-is' for use with AOE 5234: Orbital Mechanics. % Numerical accuracy is guaranteed only to within the bounds specified by % The MathWorks Inc. % % Auth...
github
Space-at-VT/CubeSatRPO-master
RelativeMotion.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/LERM_NERM_Sims/RelativeMotion.m
4,671
utf_8
26ecc364d861251a86aee71c524bd11c
classdef RelativeMotion < handle %% RelativeMotion class % % Dylan - This is a good example of how to define/setup a class. % % This is a simple class to propagate the linear and nonlinear equations of % relative motion for spacecraft formation flying. % % Author: Andrew Rogers % Date: 11 April 2016 % ...
github
Space-at-VT/CubeSatRPO-master
makeCheckbox.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/AuxiliaryFunctions/makeCheckbox.m
410
utf_8
9b368362002a5631a43a60910ed7fd38
function ui = makeCheckbox(parent,value,left,top,callback,width,height) if nargin < 5 callback = @nothing; end if nargin < 6 width = 15; end if nargin < 7 height = 15; end parentHeight = getHeight(parent); ui = uicontrol('parent',parent,'style','checkbox','value',value,'position',[left,pare...
github
Space-at-VT/CubeSatRPO-master
makeComboBox.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/AuxiliaryFunctions/makeComboBox.m
472
utf_8
4954aab47a5bdc5374a5a2fa2cfa347f
function ui = makeComboBox(parent,value,left,top,callback,width,height) if nargin < 5 callback = @nothing; end if nargin < 6 width = 150; end if nargin < 7 height = 20; end parentHeight = getHeight(parent); ui = uicontrol('parent',parent,'style','popupmenu','string',value,'Position',[le...
github
Space-at-VT/CubeSatRPO-master
makeListbox.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/AuxiliaryFunctions/makeListbox.m
410
utf_8
b0aedee92f68c74a27af3fc7265f3f17
function ui = makeListbox(parent,left,top,callback,width,height) if nargin < 4 callback = @nothing; end if nargin < 5 width = 200; end if nargin < 6 height = 250; end parentHeight = getHeight(parent); ui = uicontrol('Parent',parent,'style','listbox','Position',[left parentHeight-height-top,...
github
Space-at-VT/CubeSatRPO-master
TwoBodyOrbit.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/OrbitFunctions/TwoBodyOrbit.m
19,655
utf_8
495f04ab612ea0deb44d013507061670
classdef TwoBodyOrbit < handle % This is a basic two-body orbit perturbed by J2. The user is required only % to input the initial orbit based on Kepler elements, a few physical % parameters, and the total time of flight. % % Author: Andrew Rogers, Ph.D. % Date: 29 March 2016 % ...
github
Space-at-VT/CubeSatRPO-master
oe2rv.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/OrbitFunctions/oe2rv.m
3,281
utf_8
cd0b9505d7e0c0577c8e568f45e075ca
function [r,v] = oe2rv(elements,mu,flag) % This function converts the Keplerian elements to the Cartesian state % vector. From Fundamentals of Astrodynamics with Applications,... % David Vallado, 2007., pp.126-127, Algorithm 10. % % AC Rogers 14 Feb 2013 % % Inputs: % p = parameter % ecc = eccentricity % in...
github
Space-at-VT/CubeSatRPO-master
GaussVariationalEquations.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/OrbitFunctions/GaussVariationalEquations.m
3,760
utf_8
702f20253bed5e37fbded58e6f7404e4
function DX = GaussVariationalEquations(t,X,req,mu,J2flag,flag) % This function contains the necessary procedures for computing Gauss' % Variation of Parameters. Equations derived from Battin (1987), Schaub and % Junkins (2009) and Vallado (2007). This function also contains the % differential equation used to de...
github
Space-at-VT/CubeSatRPO-master
orbitEquation.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/GUI/OrbitFunctions/orbitEquation.m
698
utf_8
b822a8a5e3e1297e1c36c71fc5c65f92
function DX = orbitEquation(t,x,mu,J2,Req) % Main function to integrate the orbital equation of motion with the % influence of J2 % Author: Andrew Rogers, Ph.D. % Date: 29 March 2016 % % State vector r = x(1:3,1); v = x(4:6,1); R = norm(r); % Magnitude of R % Return J2 acceleration aj2 = J2Vector(mu,r,J2...
github
Space-at-VT/CubeSatRPO-master
oe2rv.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/Gim_Alfriend_STM/oe2rv.m
3,281
utf_8
cd0b9505d7e0c0577c8e568f45e075ca
function [r,v] = oe2rv(elements,mu,flag) % This function converts the Keplerian elements to the Cartesian state % vector. From Fundamentals of Astrodynamics with Applications,... % David Vallado, 2007., pp.126-127, Algorithm 10. % % AC Rogers 14 Feb 2013 % % Inputs: % p = parameter % ecc = eccentricity % in...
github
Space-at-VT/CubeSatRPO-master
LinearFormationFlyingEquations.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/Gim_Alfriend_STM/LinearFormationFlyingEquations.m
1,698
utf_8
8179c3b60cbc261bdb6556b3d50f36da
function DX = LinearFormationFlyingEquations(t,X,mu,a,ecc) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This code is provided 'as-is' for use with AOE 5234: Orbital Mechanics. % Numerical accuracy is guaranteed only to within the bounds specified by % The MathWorks Inc. % % Auth...
github
Space-at-VT/CubeSatRPO-master
GimAlfriendSTM.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/Gim_Alfriend_STM/GimAlfriendSTM.m
44,339
utf_8
9510cee806c25b36f369bea1529223ef
classdef GimAlfriendSTM < handle % Dylan - Removed FormationFlying handle...Checkout if useful later? %% Gim-Alfriend State Transition Matrix Class % % This class contains the GA_STMects necessary to propagate the Gim-Alfriend % STM (Gim and Alfriend, 2003). The class accepts chief element % descriptions of C...
github
Space-at-VT/CubeSatRPO-master
PHI_GA_STM.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/Gim_Alfriend_STM/PHI_GA_STM.m
37,386
utf_8
441647be499e46f7a82bf5e701bf5388
function PhiJ2 = PHI_GA_STM(t,J2,ChiefOsc,ChiefNSMean,Req,mu,tol) % Function computes the Gim-Alfriend State Transition Matrix for the % initial chief orbital elements over the time span t: % % Inputs: % t = vector of time values (seconds) % J2 = 1082.63e-6, zonal coefficient %...
github
Space-at-VT/CubeSatRPO-master
hcwOpt.m
.m
CubeSatRPO-master/ARsatcodes/Individual_Codes/OptManeuverCodes/hcwOpt.m
26,876
utf_8
7f8bd8bd8191a29dad41e3cca1e92927
classdef hcwOpt < handle % Dylan - This is mostly done. Should review it, and get the % feasibleTime stuff working... % % % This class constructs a fully-actuated or under-actuated, minimum-fuel % transfer for the HCW equations. properties mu % gravitational ...
github
Space-at-VT/CubeSatRPO-master
OrbitPlotter.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryOptimization/OrbitPlotter.m
7,551
utf_8
af5cdbeb4ce6dcb067644c77aebe61c7
classdef OrbitPlotter < handle properties States StatesQ Controls ControlsQ Points Time plotLinesStates plotLineStatesMods plotLineStatesSizes plotLinesStatesQ plotLineStatesQMods p...
github
Space-at-VT/CubeSatRPO-master
ConvexSFFManeuver.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryOptimization/ConvexSFFManeuver.m
12,497
utf_8
966e0c327bea5be74cd4b33249a668b2
classdef ConvexSFFManeuver < handle properties X U T Xq Uq optimalObjective samples t0 dt tf umax umin B numInput numState X0 ...
github
Space-at-VT/CubeSatRPO-master
OptimalManeuver.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryOptimization/OptimalManeuver.m
6,573
utf_8
5bc4940f6c3a87fb7574e7708df8a40f
classdef OptimalManeuver < handle properties X U T Xq Uq optimalObjective samples t0 dt tf umax umin B numInput numState X0 Xf...
github
Space-at-VT/CubeSatRPO-master
makeSpaceShuttle.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryOptimization/makeSpaceShuttle.m
1,459
utf_8
eef7b02fe465736c38c0bce4633b5727
function makeSpaceShuttle plotShuttle(0,0,0,0,-pi/2,pi/2,0.0487,1e-3,[1,1,0.5]) end function plotShuttle(x,y,z,pitch,roll,yaw,scale_factor,step,cv) load shuttle; V = [-V(:,2) V(:,1) V(:,3)]; V(:,1) = V(:,1)-round(sum(V(:,1))/size(V,1)); V(:,2) = V(:,2)-round(sum(V(:,2))/size(V,1)); V(:,3) = V(:,3)-round(sum(V...
github
Space-at-VT/CubeSatRPO-master
HCW.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryOptimization/Models/HCW.m
2,322
utf_8
c2fb7df70ddcc3fad148be3f264728c1
classdef HCW < handle properties mu a initialCondition terminalCondition n period samples t0 dt tf time Phi A B X Ak Bk end ...
github
Space-at-VT/CubeSatRPO-master
GimAlfriendSTM.m
.m
CubeSatRPO-master/ARsatcodes/TrajectoryOptimization/Models/GimAlfriendSTM.m
46,954
utf_8
f38e862aeccec1789b03839729bdd41a
classdef GimAlfriendSTM < handle %% Gim-Alfriend State Transition Matrix Class % % This class contains the objects necessary to propagate the Gim-Alfriend % STM (Gim and Alfriend, 2003). The class accepts chief element % descriptions of Classical or Nonsingular, and relative deputy state %...
github
ringothom/MHE-master
ica.m
.m
MHE-master/MHEMetaheuristicEnsembles/ica.m
11,413
utf_8
09b5998474aba8c723b9286cc9098eac
% Project Code: YPEA118 % Project Title: Implementation of Imperialist Competitive Algorithm (ICA) % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All ...
github
ringothom/MHE-master
abc.m
.m
MHE-master/MHEMetaheuristicEnsembles/abc.m
6,282
utf_8
19872a9239644fd865b216f9463ff7c8
% Project Code: YPEA114 % Project Title: Implementation of Artificial Bee Colony in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All rights r...
github
ringothom/MHE-master
ca.m
.m
MHE-master/MHEMetaheuristicEnsembles/ca.m
7,240
utf_8
1dc09b6e81edf8efbc24dd23eee958cb
% Project Code: YPEA125 % Project Title: Implementation of Cultural Algorithm in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All rights rese...
github
ringothom/MHE-master
es1p1.m
.m
MHE-master/MHEMetaheuristicEnsembles/es1p1.m
2,796
utf_8
16cf45dda719f4b4b9ccde8d1ad52726
% This algorithm implements the simplest of all "evolution strategies" % (ES), the (1+1)-ES. In each iteration, one parent is used to create % one offspring using a Gaussian mutation operator (A random gaussian % variable with mean zero and standard deviation 'sigma'). % Bibliography: % % - KALYANMO...
github
ringothom/MHE-master
bbo.m
.m
MHE-master/MHEMetaheuristicEnsembles/bbo.m
5,588
utf_8
dcb797f3634b480bdc8558ab71192b1e
% Project Code: YPEA113 % Project Title: Biogeography-Based Optimization (BBO) in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All rights res...
github
ringothom/MHE-master
hs.m
.m
MHE-master/MHEMetaheuristicEnsembles/hs.m
5,432
utf_8
0686b9cab4bbb43ddad627c3588c09fe
% Project Code: YPEA117 % Project Title: Implementation of Harmony Search in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All rights reserved...
github
ringothom/MHE-master
fn_hmeasure.m
.m
MHE-master/MHEMetaheuristicEnsembles/fn_hmeasure.m
10,367
utf_8
79ee4246142d1752921c5e6e00d1c2b3
function hm = fn_hmeasure(x,pred,obs) % fitness function: H measure % input: weights vector, prediction matrix, observations vector % output: H measure (maximize for maximizing accuracy) x = x/sum(x); weightPred = bsxfun(@times,pred,x); sumPred = sum(weightPred,2); hm = hmeasure(obs,...
github
ringothom/MHE-master
de.m
.m
MHE-master/MHEMetaheuristicEnsembles/de.m
4,647
utf_8
986c1107d68f48ade316202f6fe42618
% Project Code: YPEA107 % Project Title: Implementation of Differential Evolution (DE) in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All ri...
github
ringothom/MHE-master
tlbo.m
.m
MHE-master/MHEMetaheuristicEnsembles/tlbo.m
5,670
utf_8
998dc1c8af24fbb3589c444eb0f0d113
% Project Code: YPEA111 % Project Title: Implementation of TLBO in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All rights reserved. Redis...
github
ringothom/MHE-master
sce.m
.m
MHE-master/MHEMetaheuristicEnsembles/sce.m
7,832
utf_8
4825d46ba58db278db202c493dc647a2
% Project Code: YPEA110 % Project Title: Implementation of Shuffled Complex Evolution (SCE-UA) % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All righ...
github
ringothom/MHE-master
cmaes.m
.m
MHE-master/MHEMetaheuristicEnsembles/cmaes.m
6,536
utf_8
68ebd668d0acac202f9145d91fc216ce
% Project Code: YPEA108 % Project Title: Covariance Matrix Adaptation Evolution Strategy (CMA-ES) % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Team) % % Contact Info: sm.kalami@gmail.com, info@yarpiz.com % %{ Copyright (c) 2015, Yarpiz (www.yarpiz.com) All r...
github
ringothom/MHE-master
fireflyalgorithm.m
.m
MHE-master/MHEMetaheuristicEnsembles/fireflyalgorithm.m
5,723
utf_8
d8aabd9b6dad3ecfa8e9c236442d6721
% % Copyright (c) 2015, Yarpiz (www.yarpiz.com) % All rights reserved. Please read the "license.txt" for license terms. % % Project Code: YOEA112 % Project Title: Implementation of Firefly Algorithm (FA) in MATLAB % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Te...
github
ringothom/MHE-master
aco.m
.m
MHE-master/MHEMetaheuristicEnsembles/aco.m
5,735
utf_8
b60ac935d617f6570780b0cb677d24af
% Copyright (c) 2015, Yarpiz (www.yarpiz.com) % All rights reserved. Please read the "license.txt" for license terms. % % Project Code: YPEA104 % Project Title: Ant Colony Optimization for Continuous Domains (ACOR) % Publisher: Yarpiz (www.yarpiz.com) % % Developer: S. Mostapha Kalami Heris (Member of Yarpiz Te...
github
ringothom/MHE-master
bsa.m
.m
MHE-master/MHEMetaheuristicEnsembles/bsa.m
6,088
utf_8
0f69019f2a515ae12abba12bffe18d32
%{ Backtracking Search Optimization Algorithm (BSA) Platform: Matlab 2013a Cite this algorithm as; [1] P. Civicioglu, "Backtracking Search Optimization Algorithm for numerical optimization problems", Applied Mathematics and Computation, 219, 81218144, 2013. Copyright Notice Copyright (c) 2012, Pin...
github
vyoussofzadeh/SINEAD_tool-master
cfg_getfile.m
.m
SINEAD_tool-master/external/spm/cfg_getfile.m
51,231
utf_8
2b8227dc8614e49e7c17ac2771988a19
function [t,sts] = cfg_getfile(varargin) % File selector % FORMAT [t,sts] = cfg_getfile(n,typ,mesg,sel,wd,filt,prms) % n - Number of files % A single value or a range. e.g. % 1 - Select one file % Inf - Select any number of files % [1 Inf] - Select 1 to Inf ...
github
vyoussofzadeh/SINEAD_tool-master
initialise.m
.m
SINEAD_tool-master/external/spm/@cfg_branch/initialise.m
2,320
utf_8
e33a8c7707d19f85627dd03955ff79cb
function item = initialise(item, val, dflag) % function item = initialise(item, val, dflag) % Initialise a configuration tree with values. If val is a job % struct/cell, only the parts of the configuration that are present in % this job will be initialised. % If val has the special value '<DEFAULTS>', the entire confi...
github
vyoussofzadeh/SINEAD_tool-master
num2str.m
.m
SINEAD_tool-master/external/spm/private/num2str.m
6,229
utf_8
35ba81d9ba6b78d182aa2136612ac3b2
function s = num2str(x, f) %NUM2STR Convert numbers to a string. % T = NUM2STR(X) converts the matrix X into a string representation T % with about 4 digits and an exponent if required. This is useful for % labeling plots with the TITLE, XLABEL, YLABEL, and TEXT commands. % % T = NUM2STR(X,N) converts the matr...
github
vyoussofzadeh/SINEAD_tool-master
inputdlg.m
.m
SINEAD_tool-master/external/spm/private/inputdlg.m
12,452
utf_8
e9d80a588d04401cefdb88a9ff95f996
function Answer=inputdlg(Prompt, Title, NumLines, DefAns, Resize) %INPUTDLG Input dialog box. % ANSWER = INPUTDLG(PROMPT) creates a modal dialog box that returns user % input for multiple prompts in the cell array ANSWER. PROMPT is a cell % array containing the PROMPT strings. % % INPUTDLG uses UIWAIT to suspend ex...
github
vyoussofzadeh/SINEAD_tool-master
cfg_justify.m
.m
SINEAD_tool-master/external/spm/private/cfg_justify.m
4,781
utf_8
f35de815dab47aff40ab2987909d5f26
function out = cfg_justify(varargin) % CFG_JUSTIFY Justifies a text string % OUT = CFG_JUSTIFY(N,TXT) justifies text string TXT to % the length specified by N. % % OUT = CFG_JUSTIFY(OBJ,TXT), where OBJ is a handle to a 'listbox' style % uicontrol, justifies text string TXT to the width of the OBJ in % ch...
github
vyoussofzadeh/SINEAD_tool-master
listdlg.m
.m
SINEAD_tool-master/external/spm/private/listdlg.m
8,479
utf_8
9e6dc823af689b0c265f2631948dbc5d
function [selection,value] = listdlg(varargin) %LISTDLG List selection dialog box. % [SELECTION,OK] = LISTDLG('ListString',S) creates a modal dialog box % which allows you to select a string or multiple strings from a list. % SELECTION is a vector of indices of the selected strings (length 1 in % the single se...
github
vyoussofzadeh/SINEAD_tool-master
resolve_deps.m
.m
SINEAD_tool-master/external/spm/@cfg_item/resolve_deps.m
3,618
utf_8
436b23723204757dca38afc10caccc02
function [val, sts] = resolve_deps(item, cj) % function [val, sts] = resolve_deps(item, cj) % Resolve dependencies for an cfg item. This is a generic function that % returns the contents of item.val{1} if it is an array of cfg_deps. If % there is more than one dependency, they will be resolved in order of % appearance...
github
vyoussofzadeh/SINEAD_tool-master
barwitherr.m
.m
SINEAD_tool-master/external/other/barwitherr.m
5,693
utf_8
26b33c234ea231512d24b3c792823f3b
%************************************************************************** % % This is a simple extension of the bar plot to include error bars. It % is called in exactly the same way as bar but with an extra input % parameter "errors" passed first. % % Parameters: % errors - the errors to be plotted (extra...
github
vyoussofzadeh/SINEAD_tool-master
gridLegend.m
.m
SINEAD_tool-master/external/other/gridLegend.m
13,379
utf_8
16eb6e1b02fdd27bd0240eda2a5e3d04
% gridLegend : plots a legend in a multi column format % % On a plot with a lot of traces the standard legend will often scroll off the bottom or the side of the figure, % this function is intended to overcome this by allowing the user to define a multi column format for the % legend. % % Usage : legHdl = gridLegend(...
github
vyoussofzadeh/SINEAD_tool-master
subdir.m
.m
SINEAD_tool-master/external/other/subdir.m
1,218
utf_8
9c025158b1ea540152ec4af07a91313a
function [sub,fls] = subdir(CurrPath) % SUBDIR lists (recursive) all subfolders and files under given folder % % SUBDIR % returns all subfolder under current path. % % P = SUBDIR('directory_name') % stores all subfolders under given directory into a variable 'P' % % [P F] = SUBDIR('directory_...
github
vyoussofzadeh/SINEAD_tool-master
f_correction.m
.m
SINEAD_tool-master/external/other/f_correction.m
206
utf_8
eea0fa505b1782acd63a884911254a8e
% example % f = [2,2,1,-4;5,-4,1,5]'; function [L,f_cor] = f_correction(f) f_cor = f; for i=1:size(f_cor,2) m = f_cor (:,i)== -4; f_cor (m,i)= mode(f_cor (~m,i)); end L = length(find(m==1)); end
github
jadhavan/AI-Project-master
getKeyPoints.m
.m
AI-Project-master/matlab_Keypointdetection/getKeyPoints.m
1,214
utf_8
3ac004c4a44709cd5578bbfa2ae74af0
% This function takes an image file and returns its keypoint data. % This is adapted from demo.m function [kpx, kpy, kpname] = getKeyPoints(filename) % Update these according to your requirements USE_GPU = 0; % 1 for GPU img_fn = char(filename); %sample_img.png DEMO_BASEDIR = pwd; DEMO_MODEL_FN = fullfile(DEMO_BASE...
github
jadhavan/AI-Project-master
vl_nnloss.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/vl_nnloss.m
11,212
utf_8
e4c325752a9cddab59f01afa0d561ea1
function y = vl_nnloss(x,c,dzdy,varargin) %VL_NNLOSS CNN categorical or attribute loss. % Y = VL_NNLOSS(X, C) computes the loss incurred by the prediction % scores X given the categorical labels C. % % The prediction scores X are organised as a field of prediction % vectors, represented by a H x W x D x N array...
github
jadhavan/AI-Project-master
vl_nnstructloss.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/vl_nnstructloss.m
4,576
utf_8
84674b6e27ad2454930f5fb7fdb9b42d
function [YA, YB] = vl_nnstructloss(XA, XB, c, dzdy, varargin) opts.loss = 'strloss' ; opts.iter=0; opts.bodyPairs=[]; opts.trf=[]; opts.N_modes = 5; opts = vl_argparse(opts,varargin) ; marg = 30; backFlg = 0; YA=0; YB=0; XA = gather(XA); XB = gather(XB); n=0; switch lower(opts.loss) case {'strloss'} ...
github
jadhavan/AI-Project-master
vl_compilenn.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/vl_compilenn.m
28,864
utf_8
5c0ad6564601bc9237139223229ba05a
function vl_compilenn(varargin) %VL_COMPILENN Compile the MatConvNet toolbox. % The `vl_compilenn()` function compiles the MEX files in the % MatConvNet toolbox. See below for the requirements for compiling % CPU and GPU code, respectively. % % `vl_compilenn('OPTION', ARG, ...)` accepts the following options: %...
github
jadhavan/AI-Project-master
vl_nntukeyloss.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/vl_nntukeyloss.m
2,780
utf_8
2f77201898aeaba898c567711b8076ae
function Y = vl_nntukeyloss(X,c,iter,scbox, dzdy, varargin) %Created by Vasileios Belagiannis. %Contact: vb@robots.ox.ac.uk %Only the l2loss for the heatmaps is included. The tukeyloss is in the %following repo: https://github.com/bazilas/matconvnet-deepReg opts.loss = 'l2loss-heatmap' ; opts.lossWeight=1; opts.ignOc...
github
jadhavan/AI-Project-master
getVarReceptiveFields.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/+dagnn/@DagNN/getVarReceptiveFields.m
3,549
utf_8
ca843d13890184e1451248f43f7d4011
function rfs = getVarReceptiveFields(obj, var) %GETVARRECEPTIVEFIELDS Get the receptive field of a variable % RFS = GETVARRECEPTIVEFIELDS(OBJ, VAR) gets the receptivie fields RFS of % all the variables of the DagNN OBJ into variable VAR. VAR is a variable % name or index. % % RFS has one entry for each variable...
github
jadhavan/AI-Project-master
rebuild.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/+dagnn/@DagNN/rebuild.m
3,103
utf_8
2051dfdfff3e31e12ab7ac483c251515
function rebuild(obj) %REBUILD Rebuild the internal data structures of a DagNN object % REBUILD(obj) rebuilds the internal data structures % of the DagNN obj. It is an helper function used internally % to update the network when layers are added or removed. varFanIn = zeros(1, numel(obj.vars)) ; varFanOut = zero...
github
jadhavan/AI-Project-master
print.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/+dagnn/@DagNN/print.m
13,386
utf_8
069dfa6b59cf037487bd9462bf8c21e7
function str = print(obj, inputSizes, varargin) %PRINT Print information about the DagNN object % PRINT(OBJ) displays a summary of the functions and parameters in the network. % STR = PRINT(OBJ) returns the summary as a string instead of printing it. % % PRINT(OBJ, INPUTSIZES) where INPUTSIZES is a cell array of ...
github
jadhavan/AI-Project-master
fromSimpleNN.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/+dagnn/@DagNN/fromSimpleNN.m
8,556
utf_8
1d771e348cbe0495c96bd558ee2d017a
function obj = fromSimpleNN(net, varargin) % FROMSIMPLENN Initialize a DagNN object from a SimpleNN network % FROMSIMPLENN(NET) initializes the DagNN object from the % specified CNN using the SimpleNN format. % % SimpleNN objects are linear chains of computational layers. These % layers exchange information th...
github
jadhavan/AI-Project-master
vl_simplenn_display.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/simplenn/vl_simplenn_display.m
12,389
utf_8
bd99c027519a637b853c5a096f1a79b1
function [info, str] = vl_simplenn_display(net, varargin) %VL_SIMPLENN_DISPLAY Display the structure of a SimpleNN network. % VL_SIMPLENN_DISPLAY(NET) prints statistics about the network NET. % % INFO = VL_SIMPLENN_DISPLAY(NET) returns instead a structure INFO % with several statistics for each layer of the netw...
github
jadhavan/AI-Project-master
vl_test_economic_relu.m
.m
AI-Project-master/matlab_Keypointdetection/lib/matconvnet-custom/matlab/xtest/vl_test_economic_relu.m
790
utf_8
35a3dbe98b9a2f080ee5f911630ab6f3
% VL_TEST_ECONOMIC_RELU function vl_test_economic_relu() x = randn(11,12,8,'single'); w = randn(5,6,8,9,'single'); b = randn(1,9,'single') ; net.layers{1} = struct('type', 'conv', ... 'filters', w, ... 'biases', b, ... 'stride', 1, ... ...
github
wittfabian/eapso-matlab-master
string2hash.m
.m
eapso-matlab-master/string2hash.m
451
utf_8
f11889c92dd5e001bd655009afbfa94e
%STRING2HASH Convert a string to a 64 char hex hash string (256 bit hash) % % hash = string2hash(string) % %IN: % string - a string! % %OUT: % hash - a 64 character string, encoding the 256 bit SHA hash of string % in hexadecimal. function hash = string2hash(string) persistent md if isempty(md) md =...
github
samerlahoud/wireless-simulator-ua-pc-master
gee_objective_computation.m
.m
wireless-simulator-ua-pc-master/helper_functions/gee_objective_computation.m
521
utf_8
e952c73ab5357a3666388203afa0a746
% Compute GEE objective based on power allocation and SINR values function [objective] = gee_objective_computation(sinr_matrix, power_allocation_matrix) % Venturino objective global netconfig; nb_sectors=netconfig.nb_sectors; power_prop_coeff = netconfig.power_prop_coeff; power_indep_coeff=netconfig.power_indep_coeff;...
github
samerlahoud/wireless-simulator-ua-pc-master
scheduling_objective_computation.m
.m
wireless-simulator-ua-pc-master/helper_functions/scheduling_objective_computation.m
620
utf_8
790cc92de6918712a1cba49d986d5ad8
% Compute EE objective based on power allocation and SINR values function [objective] = scheduling_objective_computation global netconfig; nb_sectors=netconfig.nb_sectors; nb_users_per_sector=netconfig.nb_users_per_sector; nb_RBs = netconfig.nb_RBs; log_sum_theta=0; %beware of distributed_gt_ee_maxlog_sinr_power_allo...
github
samerlahoud/wireless-simulator-ua-pc-master
ee_bs_objective_computation.m
.m
wireless-simulator-ua-pc-master/helper_functions/ee_bs_objective_computation.m
657
utf_8
1c4dfd974c160620e9e02a993d823bd2
% Compute per BS EE objective based on power allocation and SINR values function [objective] = ee_bs_objective_computation(BS, sinr_matrix, power_allocation_matrix) global netconfig; nb_sectors=netconfig.nb_sectors; nb_RBs=netconfig.nb_RBs; power_prop_coeff = netconfig.power_prop_coeff; power_indep_coeff=netconfig.pow...
github
samerlahoud/wireless-simulator-ua-pc-master
se_objective_computation.m
.m
wireless-simulator-ua-pc-master/helper_functions/se_objective_computation.m
416
utf_8
544b9e3619d8d56402fd647955b6eb72
% Compute SE (numerator in EE objective) based on SINR values function [objective] = se_objective_computation(sinr_matrix) global netconfig; nb_sectors=netconfig.nb_sectors; power_prop_coeff = netconfig.power_prop_coeff; power_indep_coeff=netconfig.power_indep_coeff; log_sinr=sum(sum(sum(log(sinr_matrix(sinr_matrix>0...
github
samerlahoud/wireless-simulator-ua-pc-master
sinr_computation.m
.m
wireless-simulator-ua-pc-master/helper_functions/sinr_computation.m
814
utf_8
cc1901d0c80957411b4fcfd15ba2e18e
% Compute SINR based on power allocation function [sinr_matrix] = sinr_computation(pathloss_matrix, BS, power_allocation_matrix) global netconfig; nb_sectors = netconfig.nb_sectors; nb_RBs=netconfig.nb_RBs; noise_density=netconfig.noise_density; RB_bandwidth=netconfig.RB_bandwidth; total_nb_users=netconfig.total_nb_us...
github
samerlahoud/wireless-simulator-ua-pc-master
ee_objective_computation.m
.m
wireless-simulator-ua-pc-master/helper_functions/ee_objective_computation.m
563
utf_8
908b8c56a7dac464bd3c8df17666272e
% Compute EE objective based on power allocation and SINR values function [objective] = ee_objective_computation(sinr_matrix, power_allocation_matrix) global netconfig; nb_sectors=netconfig.nb_sectors; power_prop_coeff = netconfig.power_prop_coeff; power_indep_coeff=netconfig.power_indep_coeff; log_sinr=sum(sum(sum(l...
github
samerlahoud/wireless-simulator-ua-pc-master
barwitherr.m
.m
wireless-simulator-ua-pc-master/plot_library/barwitherr.m
6,062
utf_8
894962c3205f5ba925dd59c84274e516
%************************************************************************** % % This is a simple extension of the bar plot to include error bars. It % is called in exactly the same way as bar but with an extra input % parameter "errors" passed first. % % Parameters: % errors - the errors to be plotted (extra...
github
samerlahoud/wireless-simulator-ua-pc-master
adjustedboxplot.m
.m
wireless-simulator-ua-pc-master/plot_library/adjustedboxplot.m
23,592
utf_8
c0b2692d91bf7ff1f42112c541b11572
function result=adjustedboxplot(x,varargin) % %ADJUSTEDBOXPLOT produces an adjusted box and whisker plot with one box for each column % of X. % Typical for this boxplot are its skewness-adjusted whiskers, which are based on % the medcouple, a robust measure of skewness. At skewed data, the original boxplot % typicall...
github
samerlahoud/wireless-simulator-ua-pc-master
bagplot.m
.m
wireless-simulator-ua-pc-master/plot_library/bagplot.m
58,009
utf_8
df2691a384be0586a6c2fe1ba845368d
function result=bagplot(x,varargin) %BAGPLOT draws a bagplot, which is a generalisation of the univariate boxplot % to bivariate data. The original bagplot is described in % % Rousseeuw, P.J., Ruts, I. and Tukey, J.W. (1999), % "The bagplot: a bivariate boxplot", The American Statistician, 53, 382-387. % % The constru...
github
samerlahoud/wireless-simulator-ua-pc-master
notBoxPlot.m
.m
wireless-simulator-ua-pc-master/plot_library/notBoxPlot.m
6,631
utf_8
5168ba3f770ec8ce0786ef91585613fb
function varargout=notBoxPlot(y,x,jitter,style) % notBoxPlot - Doesn't plot box plots! % % function notBoxPlot(y,x,jitter,style) % % % Purpose % An alternative to a box plot, where the focus is on showing raw % data. Plots columns of y as different groups located at points % along the x axis defined by the optional vec...
github
samerlahoud/wireless-simulator-ua-pc-master
hatchfill2.m
.m
wireless-simulator-ua-pc-master/plot_library/hatchfill2_r8/hatchfill2.m
33,194
utf_8
51bee2664013a1cf543ac2a97a7afb05
function H = hatchfill2(A,varargin) % HATCHFILL2 Hatching and speckling of patch objects % HATCHFILL2(A) fills the patch(es) with handle(s) A. A can be a vector % of handles or a single handle. If A is a vector, then all objects of A % should be part of the same group for predictable results. The hatch % consis...
github
samerlahoud/wireless-simulator-ua-pc-master
legendflex.m
.m
wireless-simulator-ua-pc-master/plot_library/kakearney-legendflex-pkg-f29cb4e/legendflex/legendflex.m
31,588
UNKNOWN
81c73e22c6df4cac5fee2c4c66067ca9
function varargout = legendflex(varargin) %LEGENDFLEX Creates a more flexible legend % % legendflex(M, param1, val1, ...) % legendflex(h, M, param1, val1, ...) % [legend_h,object_h,plot_h,text_str] = legendflex(...) % % This offers a more flexible version of the legend command. It offers a % different method of posit...
github
samerlahoud/wireless-simulator-ua-pc-master
generate_radio_conditions_v3.m
.m
wireless-simulator-ua-pc-master/network_generation/generate_radio_conditions_v3.m
2,881
utf_8
9a9d1a2b6be7e40337dfb66be30f0a5f
% Generate radio conditions based on output from Vienna LTE simulator % Should integrate real fading law => Tried to use raylrnd function [BS, user, pathloss_RB_matrix] = generate_radio_conditions_v3 rng('shuffle') global netconfig; nb_users_per_sector = netconfig.nb_users_per_sector; nb_sectors ...
github
samerlahoud/wireless-simulator-ua-pc-master
generate_radio_conditions.m
.m
wireless-simulator-ua-pc-master/network_generation/generate_radio_conditions.m
1,561
utf_8
0f2726174925ccb784fd54f74c2ddf22
% Generate radio conditions based on output from Vienna LTE simulator % Should integrate real fading law function [BS, user, linear_pathloss_fading_matrix] = generate_radio_conditions rng('shuffle') load('network_1_rings_3_sectors_30_offset_10m_res_TS36942_urban_kathreinTSAntenna_antenna_8?-0?_2.14GHz_freq_claussen8dB_...
github
samerlahoud/wireless-simulator-ua-pc-master
generate_radio_conditions_v2.m
.m
wireless-simulator-ua-pc-master/network_generation/generate_radio_conditions_v2.m
2,790
utf_8
9c5f0e178897e3a3c6d69bf4d99677d5
% Generate radio conditions based on output from Vienna LTE simulator % Should integrate real fading law function [BS, user, pathloss_RB_matrix] = generate_radio_conditions_v2 rng('shuffle') global netconfig; nb_users_per_sector = netconfig.nb_users_per_sector; nb_sectors = netconfig.nb_sector...
github
samerlahoud/wireless-simulator-ua-pc-master
central_gee_noise_limited_power_allocation_rb.m
.m
wireless-simulator-ua-pc-master/power_allocation_algos/central_gee_noise_limited_power_allocation_rb.m
3,795
utf_8
6314f88b659d3d57d1845f75b6dee241
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Maximize GEE in a downlink multi-cell network in noise limited regime % Centralized approach % VENTURINO et al.: SCHEDULING AND POWER ALLOCATION IN OFDMA NETWORKS WITH BS COORDINATION %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
github
samerlahoud/wireless-simulator-ua-pc-master
central_ee_maxlog_sinr_power_allocation_gradient.m
.m
wireless-simulator-ua-pc-master/power_allocation_algos/central_ee_maxlog_sinr_power_allocation_gradient.m
6,604
utf_8
b51ccd3f2a66d19d5d4df92158c05983
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Simulation of Joint scheduling and power control for energy efficiency in % multi-cell networks (2015) % Samer Lahoud samer.lahoud@irisa.fr % Kinda Khawam %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% function [...
github
samerlahoud/wireless-simulator-ua-pc-master
central_ee_maxlog_sinr_power_allocation_rb_gp.m
.m
wireless-simulator-ua-pc-master/power_allocation_algos/central_ee_maxlog_sinr_power_allocation_rb_gp.m
2,870
utf_8
bc7614488664815a0079ee28f96af50f
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Simulation of Joint scheduling and power control for energy efficiency in % multi-cell networks (2015) % Samer Lahoud samer.lahoud@irisa.fr % Kinda Khawam %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% fun...