Question
Modify the program from the last assignment to print the catalog number, 4 digit launch year and name of all the weather satellites. The TLE
Modify the program from the last assignment to print the catalog number, 4 digit launch year and name of all the weather satellites. The TLE data contains a launch year, but it is only 2 digits. Extract this from the TLE data, convert it to a number using the MATLAB function str2num, and convert the 2 digit launch year to a 4 digit using an if statement and the following kludge:
Because the first satellite, Sputnik 1, was launched in 1957, we can assume any launch year < 57 must be in the 2000's, and any launch >= 57 was in the 1900's. This is a temporary kludge that will work up until the year 2056.
The output should be 1 satellite per line, looking like this (not all output shown):
.
.
.
23560 1995 ERS-2 23561 1995 ARIANE 40+ R/B 23705 1995 SL-16 R/B 24298 1996 SL-16 R/B 24883 1997 ORBVIEW 2 (SEASTAR) 25400 1998 SL-16 R/B 25407 1998 SL-16 R/B 25544 1998 ISS (ZARYA) 25732 1999 CZ-4B R/B 25860 1999 OKEAN-O 25861 1999 SL-16 R/B 25876 1999 DELTA 2 R/B 25977 1999 HELIOS 1B 25994 1999 TERRA 26070 2000 SL-16 R/B 26474 2000 TITAN 4B R/B 27386 2002 ENVISAT 27422 2002 IDEFIX & ARIANE 42P R/B 27424 2002 AQUA 27432 2002 CZ-4B R/B 27597 2002 MIDORI II (ADEOS-II) 27601 2002 H-2A R/B 28059 2003 CZ-4B R/B 28222 2004 CZ-2C R/B 28353 2004 SL-16 R/B 28415 2004 CZ-4B R/B 28480 2004 CZ-2C R/B 28499 2004 ARIANE 5 R/B 28738 2005 CZ-2D R/B 28773 2005 SUZAKU (ASTRO-EII) 28931 2006 ALOS (DAICHI) 28932 2006 H-2A R/B 28939 2006 AKARI (ASTRO-F) 29093 2006 CZ-4B R/B 29228 2006 RESURS-DK 1 29252 2006 GENESIS 1 29507 2006 CZ-4B R/B 31114 2007 CZ-2C R/B 31598 2007 COSMO-SKYMED 1 31789 2007 GENESIS 2 31792 2007 COSMOS 2428 31793 2007 SL-16 R/B 33504 2009 KORONAS-FOTON 37731 2011 CZ-2C R/B 38341 2012 H-2A R/B 39271 2013 CUSAT 2 & FALCON 9 R/B 39358 2013 SHIJIAN-16 (SJ-16) 39364 2013 CZ-2C R/B 39679 2014 SL-4 R/B 39766 2014 ALOS-2 40354 2014 SL-27 R/B 41038 2015 YAOGAN-29 41337 2016 ASTRO-H (HITOMI) 42758 2017 HXMT (HUIYAN) 43521 2018 CZ-2C R/B 43600 2018 AEOLUS 43641 2018 SAOCOM 1A 43682 2018 H-2A R/B 46265 2020 SAOCOM 1B 48274 2021 CSS (TIANHE) 51842 2022 2022-019U 52260 2021 SZ-13 MODULE 52794 2022 CZ-2C R/B 53131 2022 CZ-2C R/B 54047 2022 CREW DRAGON 4 DEB
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started