Uploaded image for project: 'GMAT'
  1. GMAT
  2. GMT-5580

Add more matrix capabilities to GMAT

    Details

      Description

      The new features are related to setting parts of a GMAT array. Below is some sample desired syntax.

      Create Array myMat[6,6]
      myMat(1,1) = 5000;  %existing capability
      % 3 new proposed GMAT capabilities.  First one most important
      myMat = diag([1 2 3 4 5 6])  %creates a diagonal matrix.  Similar to matlab command
      myMat(1,2:6) = [1 2 3 4 5];  % set specified portion of an array
      myMat(1:6,1:6) =
      [  [1,  2,  3,  4,  5,  6]; 
         [2,  7,  8,  9, 10, 11]; 
         [3,  8, 12, 13, 14, 15];
         [4,  9, 13, 16, 17, 18];
         [5, 10, 14, 17, 19, 20];
         [6, 11, 15, 18, 20, 21]  ];   %set entire array at once
      
      %a priori covariance at EstimationEpoch
      SC.OrbitErrorCovariance = myMat
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days, 2 hours
                  2d 2h