Open Access. Powered by Scholars. Published by Universities.®

Engineering Commons

Open Access. Powered by Scholars. Published by Universities.®

Theses/Dissertations

2012

C++

California Polytechnic State University, San Luis Obispo

Articles 1 - 1 of 1

Full-Text Articles in Engineering

Computation Time Comparison Between Matlab And C++ Using Launch Windows, Tyler Andrews Jun 2012

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 …