Open Access. Powered by Scholars. Published by Universities.®
Articles 1 - 2 of 2
Full-Text Articles in Astrodynamics
Computation Time Comparison Between Matlab And C++ Using Launch Windows, Tyler Andrews
Computation Time Comparison Between Matlab And C++ Using Launch Windows, Tyler Andrews
Aerospace Engineering
Processing speed between Matlab and C++ was compared by examining launch windows and handling large amounts of data found in pork chop plots. A compilation of code was generated in Matlab to produce the plots and an identical file was created in C++ that was then compiled and run in Matlab to plot the data. This file is known as a MEX-file. This report outlines some of the basics when working with MEX-files and the problems that face users. For Lambert’s solver, multi revolution cases were considered and some pork chop plots of single revolution trajectories were plotted. Three different …
Accelerating Lambert's Problem On The Gpu In Matlab, Nathan Parrish
Accelerating Lambert's Problem On The Gpu In Matlab, Nathan Parrish
Aerospace Engineering
The challenges and benefits of using the GPU to compute solutions to Lambert’s Problem are discussed. Three algorithms (Universal Variables, Gooding’s algorithm, and Izzo’s algorithm) were adapted for GPU computation directly within MATLAB. The robustness of each algorithm was considered, along with the speed at which it could be computed on each of three computers. All algorithms used were found to be completely robust. Computation time was measured for computation within a for-loop, a parfor-loop, and a call to the MATLAB command ‘arrayfun’ with gpuArray-type inputs. Then, a Universal Variables Lambert’s solver was written in CUDA and compiled for use …