주요 콘텐츠

이 페이지는 기계 번역을 사용하여 번역되었습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.

show

위성 시나리오 뷰어에 객체 표시

R2021a 이후

    설명

    show(item)는 열려 있는 모든 위성 시나리오 뷰어에 항목을 표시합니다.

    예제

    show(item,viewer)viewer에서 지정한 위성 시나리오 뷰어에 그래픽을 표시합니다.

    예제

    모두 축소

    시작 시간을 2020년 6월 2일 오전 8:23:00 UTC로 설정하고 종료 시간을 하루 뒤로 설정한 위성 시나리오를 만듭니다. 시뮬레이션 샘플 시간을 60초로 지정합니다.

    startTime = datetime(2020,6,02,8,23,0);
    stopTime = startTime + days(1);
    sampleTime = 60;
    sc = satelliteScenario(startTime,stopTime,sampleTime);

    케플러 요소를 사용하여 시나리오에 두 개의 위성을 추가합니다.

    semiMajorAxis = [10000000;15000000];
    eccentricity = [0.01;0.02];
    inclination = [0;10];
    rightAscensionOfAscendingNode = [0;15];
    argumentOfPeriapsis = [0;30];
    trueAnomaly = [0;20];
    
    sat = satellite(sc,semiMajorAxis,eccentricity,inclination, ...
        rightAscensionOfAscendingNode,argumentOfPeriapsis,trueAnomaly)
    sat = 
      1x2 Satellite array with properties:
    
        Name
        ID
        ConicalSensors
        Gimbals
        Transmitters
        Receivers
        Accesses
        GroundTrack
        Orbit
        OrbitPropagator
        MarkerColor
        MarkerSize
        ShowLabel
        LabelFontColor
        LabelFontSize
    
    

    궤도에 있는 위성과 지상 궤적을 한 시간 동안 봅니다.

    show(sat)
    groundTrack(sat,LeadTime=3600)
    ans=1×2 object
      1×2 GroundTrack array with properties:
    
        LeadTime
        TrailTime
        LineWidth
        LeadLineColor
        TrailLineColor
        VisibilityMode
    
    

    시나리오를 재생하고 시뮬레이션의 애니메이션 속도를 40으로 설정합니다.

    play(sc,PlaybackSpeedMultiplier=40)

    입력 인수

    모두 축소

    항목으로, Satellite, GroundStation, ConicalSensors, GroundTrack, FieldOfView 또는 Access 객체로 지정됩니다. 이러한 객체는 같은 satelliteScenario 객체에 속해야 합니다.

    참고

    item가 위성이나 지상국인 경우, 연관된 짐벌도 뷰어에 표시됩니다.

    위성 시나리오 뷰어로, satelliteScenarioViewer 객체로 구성된 스칼라, 벡터 또는 배열로 지정됩니다.

    버전 내역

    R2021a에 개발됨