- Access the FoM object
MATLAB STK Connection: How to calculate coverage time for a coverage definition
7 ビュー (過去 30 日間)
古いコメントを表示
I wrote a code to create a coverage definition, altering its properties, creating a Figure of Merit (FoM), and creating a satellite constellation to compute its coverage using the FoM.
The problem is extracting the FoM values using the data providers if anyone can help. Thanks in advance
0 件のコメント
回答 (1 件)
Prathamesh
2025 年 5 月 28 日
I understand that you are working with STK. You wrote a code to create a coverage definition, altering its properties, creating a Figure of Merit (FoM), and creating a satellite constellation to compute its coverage using the FoM and you want to extract the FoM values using the data providers.
Here's how you can extract FoM values:
Fom = coverageDefinition.Children.Item('YourFoMName');
2. Access the Data Provider
dp = fom.DataProviders.Item('Value By Time');
3.Execute the Data Provider
result = dp.ExecElements({startTime, stopTime, timeStep});
4. Extract the data
times = result.DataSets.GetDataSetByName('Time').GetValues;
values = result.DataSets.GetDataSetByName('Figure Of Merit').GetValues;
Now times and values will contain the time series of your FoM.
Hope this helps
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Surface and Mesh Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!