horizondistancemain - fprintf('Height Planet\n')...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
clc clear all distance1=horizondistance(1516,0:1000:10000); distance2=horizondistance(3763.5,0:1000:10000); distance3=horizondistance(3963,0:1000:10000); distance4=horizondistance(2111,0:1000:10000);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: fprintf('Height Planet\n') fprintf('(miles) Mercury Venus Earth Mars\n') matrix=[0:1000:10000; distance 1; distance2; distance3; distance4]; fprintf('%.1f\n%.1f\n',0:1000:10000)...
View Full Document

Ask a homework question - tutors are online