{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

horizondistancemain - %Show the data as a graph...

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

View Full Document Right Arrow Icon
%Bryan Choquette %ME82 %Assignment 5 part 3 clc clear all %Run the Function 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: %Show the data as a graph fprintf('Height Planet\n') fprintf('(miles) Mercury Venus Earth Mars\n') matrix=[0:1000:10000; distance1; distance2; distance3; distance4]; fprintf('%.1f%22.1f%17.1f%19.1f%19.1f\n',matrix)...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online