Reading Digital Datcom Files
8 views (last 30 days)
Show older comments
I am trying to design a flight control system using Digital Datcom files. When I open one of the examples (asbSkyHogg) it gives me a structure called Statdyn which is what I am calling 'data' in mine. The difference is that the values statdyn is reading are coming out as 10x4x8 for the Static Longitudinal and Lateral Stability Fields as well as Dynamic Derivative Fields while mine is outputting 5x2x2. It is also outputting High-Lift and Control Fields for Symmetric Flaps and the one I am reading is not outputting anything at all. I am using the SkyHogg Model which is the same file that statdyn is using. I am currently using data = datcomimport('astdatcom.out', true, 0) which should be identical to statdyn, but it isn't. Any help would be greatly appreciated!
The question would be how do I get my output to match statdyn so that I can use the Digital Datcom Aerodynamics blocks?
Answers (1)
Akash
on 2 Dec 2024
Hi,
I understand that you are trying to obtain the DATCOM data structure which is used in the asbSkyHogg example.
The astdatcom.out file you are using is a sample 1976 Digital DATCOM output file which is over 5 alphas, 2 Mach numbers, and 2 altitudes while the DATCOM output file used in the example is astSkyHoggDatcom.out which is over 10 alphas, 4 Mach numbers and 10 altitudes. The correct command to match the data used in the example would be :
allData = datcomimport('astSkyHoggDatcom.out', false, 0);
skyHoggData = allData{1}
Here is a link to some related documentation: https://in.mathworks.com/help/aerotbx/ug/perform-controls-and-static-stability-analysis-linearized-fixed-wing-aircraft.html
Thank you,
Akash
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!